[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Possible bug with pass-through hot-plug?


  • To: Simon Horman <horms@xxxxxxxxxxxx>
  • From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
  • Date: Tue, 13 Oct 2009 11:08:38 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 13 Oct 2009 02:09:04 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ek6Z2Ck24PhQ9I5SqSl783kLEFQ4/cW4YRS7OQalHS7vxX4+xlgLAYnhOAwDdmdKJV S30ybYJcZhlxKIBcn4U++b4zZLe/cVAuj2mpr7IdY9KUv09tndjBKUetA3h4nkPNkzqt V2o6UXDqCdmBJ+7agfQCm02D9csOkoNbRj1Jc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Yes, i get the same result when i force the devfn. It only works, if u
assign it a "low" slot number (such as: 00:01.0).

I'm using 32-bit Windows.

Please update me with your findings.

Thanks!!

Tom

On Tue, Oct 13, 2009 at 12:36 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Sun, Oct 11, 2009 at 11:57:00AM +0200, Tom Rotenberg wrote:
>> Simon,
>>
>> Well, just tried it, according to what u requested, and it still doesn't 
>> work.
>>
>> Here are the lines from the qemu log:
>> ...
>> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw 
>> state.
>> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro 
>> state.
>> dm-command: hot insert pass-through pci dev
>> insert_to_pci_devfn: bdf_slt="0000:00:1b.0@e8"
>> insert_to_pci_devfn: devfn=0xe8 -> slot=0x1d, func=0x0
>> register_real_device: Assigning real physical device 00:1b.0 ...
>> pt_iomul_init: Error: pt_iomul_init can't open file
>> /dev/xen/pci_iomul: No such file or directory: 0x0:0x1b.0x0
>> pt_register_regions: IO region registered (size=0x00004000 
>> base_addr=0xfc220004)
>> register_real_device: Real physical device 00:1b.0 registered successfuly!
>> IRQ type = INTx
>> generate a sci for PHP.
>> deassert due to disable GPE bit.
>> pt_pci_write_config: Warning: Guest attempt to set address to unused
>> Base Address Register. [00:1d.0][Offset:30h][Length:4]
>> dm-command: hot remove pass-through pci dev
>> ...
>>
>> I performed the following sequence:
>> ...
>> xm create
>> <waited untill Windows booted>
>> xm pci-attach hvm 00:1b.0@1d
>> <I saw that it worked>
>> xm pci-detach hvm 00:1b.0
>> ...
>
> Hi Tom,
>
> thanks for the test results. I guess they were what you expected.
> They do seem to point to something in the hot-unplug code that
> Windows doesn't like. I'm a little confused by this thread,
> do you get the same result with your force devfn change?
>
> I'll try and get a test environment with Windows set up for myself.  Sorry
> if you have answered this before, but which version of Windows are you
> using and is it 32 or 64bit?
>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.