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

[Xen-devel] Re: [Xen-changelog] [xen-unstable] xend: hot-plug PCI device

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at boot-time
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 2 Jun 2009 15:16:02 +1000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Delivery-date: Mon, 01 Jun 2009 22:16:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EADF0A36011179459010BDF5142A457501C9C79D22@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <200905300930.n4U9UOTG008828@xxxxxxxxxxxxxxxxxxxxx> <EADF0A36011179459010BDF5142A457501C9C79D22@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Hi Dexan,

On Tue, Jun 02, 2009 at 01:05:16PM +0800, Cui, Dexuan wrote:
> Hi Simon,
> Did you test the patch (c/s 19679) with 'static assignment'?
> It breaks the static assignment of devices...
> 
> e.g., I only place a pci=['01:00.0'] in my hvm guest config file, but I find 
> ioemu invokes register_real_device() twice for the same device 01:00.0!
> 
> I haven't looked into it carefully. Just post here FYI first.

Yes, I did test static assignment, and it does seem to work.
Do you have the qemu-xen patch applied?

http://lists.xensource.com/archives/html/xen-devel/2009-05/msg01289.html

> BTW, there is another bug with guest hotplug:
> After I create a guest without assigning any device to it, I can 'xm 
> pci-attach' a device into the guest, but "xm pci-list" doesn't show the vslot 
> info. Looks this issue is originally introduced by c/s 19510.
> Can you and Masaki Kanno have a look?

Yes, of course, I will look into it.

Which revisions of xen-unstable.hg and qemu-xen-unstable.git are you using?


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