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: Fri, 12 Jun 2009 16:33:35 +1000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 11 Jun 2009 23:34:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EADF0A36011179459010BDF5142A457501C9D9804E@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> <EADF0A36011179459010BDF5142A457501C9D9804E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Jun 12, 2009 at 01:51:10PM +0800, Cui, Dexuan wrote:
> Hi Simon,
> After this changeset, I find there are some new issues in the xend:
> I noticed in xend.log, setupOneDevice() is invoked twice, but actually I only 
> statically assign 1 device to hvm guest.
> 
> After looking into the xend code, I find in XendDomainInfo.py: _initDomain() 
> -> _createDevices(), we invoke self._createDevice(devclass, config) that 
> eventually invokes setupOneDevice() -- this is the first time;
> And later, still in  _createDevices(), we invoke pci_device_configure_boot() 
> -> pci_device_configure() -> dev_control.reconfigureDevice(devid, dev_config) 
> -> xend/server/pciif.py:reconfigureDevice() -> setupOneDevice()  --  this is 
> the second time.  Can you remove the duplicate invocation?

Sure, I will look into it ASAP.

Can I confirm which version of xen-unstable.hg and qemu-xen-unstable.git
you are using?

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