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

[Xen-devel] RE: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at boot-time


  • To: Simon Horman <horms@xxxxxxxxxxxx>
  • From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
  • Date: Fri, 12 Jun 2009 14:35:02 +0800
  • Accept-language: zh-CN, en-US
  • Acceptlanguage: zh-CN, en-US
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 11 Jun 2009 23:40:45 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcnrJ7ncMbtw1Z1lQLWu8to1jaqopAAAABeg
  • Thread-topic: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at boot-time

I'm using the latest xen-unstable 19740, Dom0 898, ioemu 
e0bb6b8df60863bca0163a1688baf4854e931e55.

Thanks,
-- Dexuan



-----Original Message-----
From: Simon Horman [mailto:horms@xxxxxxxxxxxx] 
Sent: 2009?6?12? 14:34
To: Cui, Dexuan
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at 
boot-time

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


 


Rackspace

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