WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Possible bug with pass-through hot-plug?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=5kOCSLGPEIvVhArGx57Pbo7TzSYf2wSWs/k0AdEtVgY=; b=BbLd13AYWQGrGA7MOnBwOpX7WwH9fAdOgXmqemfVKQcjz6gzwtHLGp7ThZR7BBPf8U 2H5BLRpy9JB4DCbfUhCyO+aACXkktWdldrq6H4+a0+IXt2IyZoVT94IHMNwbcH95qaKy aLA4bJIGztSGMRD2F5r9hhBLnnytql3mxi4vo=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091009090743.GC7390@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <8686c3cd0910070256p77f58aeat23aea646aaf82b86@xxxxxxxxxxxxxx> <8686c3cd0910070828v30b1838by29c592bfb18f27c1@xxxxxxxxxxxxxx> <8686c3cd0910070841t2dd45aebx2f8a047477807e41@xxxxxxxxxxxxxx> <20091007225211.GD2055@xxxxxxxxxxxx> <20091007234132.GE2055@xxxxxxxxxxxx> <8686c3cd0910080655lc74ac21o644d9c88cb6bddcb@xxxxxxxxxxxxxx> <20091008223642.GA8690@xxxxxxxxxxxx> <8686c3cd0910090136v633b1275k7d58c55a3645da65@xxxxxxxxxxxxxx> <20091009085918.GB7390@xxxxxxxxxxxx> <20091009090743.GC7390@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>