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: Simon Horman <horms@xxxxxxxxxxxx>
Subject: [Xen-devel] RE: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at boot-time
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 2 Jun 2009 19:31:35 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Delivery-date: Tue, 02 Jun 2009 04:32:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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> <20090602051600.GA22478@xxxxxxxxxxxx> <EADF0A36011179459010BDF5142A457501C9C79F23@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090602111844.GA23179@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnjc+coGImr6tA4QH+8K9OD75u03wAAITGgAABITmA=
Thread-topic: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at boot-time
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

Thanks,
-- Dexuan


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

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