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

Re: [Xen-devel] [PATCH][HVM] pass-through PCI device hotplug support

To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][HVM] pass-through PCI device hotplug support
From: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Date: Mon, 18 Feb 2008 21:53:22 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 18 Feb 2008 04:53:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080215133201.GB21201@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080215133201.GB21201@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hi,

Just for your information,
I have been working on pass-through PCI device hotplug for PV domains,
and now pci-attach/detach for PV domains worked successfully.
I think I can submit an RFC patch in a few days.

Thanks,
-----------------
Yosuke Iwamatsu
  NEC Corporation


Zhai, Edwin wrote:
> Keir,
> 
> This patch is the new version against 17051 to enable HVM guest VT-d device 
> hotplug.
> 
> 
> ** Currently only 2 virtual pci slots(6~7) are made as being capable of 
> hotplug, 
> so more than 2 vtd dev can't be hotplugged, but we can easily extend it in 
> future.
> 
> Three new commands are added:
> "xm pci-list domid" show the current assigned vtd device, like:
> VSlt  domain   bus   slot   func
> 0x6      0x0  0x02   0x00    0x0
> 
> "xm pci-detach" hot remove the specified vtd device by the virtual slot, like:
> xm pci-detach EdwinHVMDomainVtd 6
> 
> "xm pci-attach DomainID dom bus dev func [vslot]" hot add a new vtd device in 
> the vslot. If no vslot specified, a free slot will be picked up. e.g. to 
> insert 
> '0000:03:00.0':
> xm pci-attach EdwinHVMDomainVtd 0 3 0 0
> 
> ** guest pci hotplug
> linux: pls. use 2.6.X and enable ACPI PCI hotplug ( Bus options=> PCI hotplug 
> => 
> ACPI PCI hotplug driver)
> windows: 2000/xp/2003/vista are all okay
> 
> 
> Thanks a lot.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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