From: Simon Horman Subject: Re: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at boot-time Date: Tue, 2 Jun 2009 22:52:39 +1000 Message-ID: <20090602125235.GA4443@verge.net.au> References: <200905300930.n4U9UOTG008828@xenbits.xensource.com> <20090602051600.GA22478@verge.net.au> <20090602111844.GA23179@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Cui, Dexuan" Cc: "xen-devel@lists.xensource.com" , Masaki Kanno List-Id: xen-devel@lists.xenproject.org On Tue, Jun 02, 2009 at 07:31:35PM +0800, Cui, Dexuan wrote: > Cui, Dexuan wrote: > > Simon Horman wrote: > >> On Tue, Jun 02, 2009 at 04:38:17PM +0800, Cui, Dexuan wrote: > >>> Simon Horman wrote: > >>>> On Tue, Jun 02, 2009 at 01:05:16PM +0800, Cui, Dexuan wrote: > >> > >> [snip] > >> > >>>>> 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? > >>> I'm using the latest xen c/s 19696 and ioemu > >>> 72f4654095e0ac1539749b628e98f5e1569c9801 plus applying your patch > >>> manually now and can still reproduce it. > >> > >> Are you booting an HVM domain? > >> I am not able to see this problem with the config below > >> and running the following commands to attach a device: > >> > >> $ xm pci-list debian > >> $ xm pci-attach debian 01:00.0 > >> $ xm pci-list debian > >> domain bus slot func > >> 0x0000 0x01 0x00 0x0 > > Here, I think the VSLT is missing? > > I expect it should be something like: > > $ xm pci-list debian > VSlt domain bus slot func > 0x04 0x0000 0x01 0x00 0x0 Sorry, my mistake. I see the problem now. I will investigate.