[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: Fri, 9 Oct 2009 13:30:25 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 09 Oct 2009 04:30:49 -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; b=tPvIOJPaNeg1aFukzq/FFfw5h5uoNse6qs+2f5LPXD9KAyCDQJt4DS08ANbMaDjyif ByCUVEX0mboIE8IUo8uy7/E36W891IgmUoOR1ioY8R8DNr1itF2Zkz+iCCTIpW/8YBTI Ebqpi/+AmDQpp66QgsbYQ5kqFEa3+TznOVC+k=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Let me understand: if you plug a device into the specific slot
00:1b.0, u are able to hot-unplug it in a Windows VM? because i tried
it with the latest xen-unstable, and it doesn't work...

On Fri, Oct 9, 2009 at 11:07 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Fri, Oct 09, 2009 at 07:59:18PM +1100, Simon Horman wrote:
>> On Fri, Oct 09, 2009 at 10:36:07AM +0200, Tom Rotenberg wrote:
>> > Simon,
>> >
>> > I think u missed something here... in the regular state, when u do:
>> > xm create hvm pci='00:1b.0'
>> >
>> > then the device is being assigned the 0x100 slot, which means - qemu
>> > will auto-assign the slot.
>> > In this case - the hot-remove works fine.
>> >
>> > In the other method i tried, when i wanted to register the device on a
>> > specific slot (00:1b.0), (in order to reproduce it - u can change
>> > qemu to force the devfn to be 1b.0, as i sent in my first mail) - in
>> > that case, the device is assigned the slot 00:1b.0, and i see in the
>> > Windows device manager, that it got the virtual slot 00:1b.0
>> > Now, when i try to hot-remove the device - it doesn't work.
>>
>> Ok, I missed that. Without your change does the device appear in the
>> device manager? If not could you try my debugging patch and see what it
>> reports.
>>
>> > Doesn't it reproduce to u? (with the patch i sent, for forcing devfn
>> > to be 00:1b.0) ?
>>
>> I am able to hot-plug devices into specific slots without your change.
>> I'll verify that hot-unplug also works.
>
> hot-unplug is working for me
>
>> N.B: My guests are linux not Windows.
>> Although I don't think that makes any difference.
>
>

_______________________________________________
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®.