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

Re: [Xen-API] XCP PCI Passthrough on HVM how to?



>If PCI passthrough to an HVM guest is possible in XCP, such as through xe or otherwise, would someone please share the basic steps and commands?

 

It’s basically what Donald had but the semantics of the number before the slash changed at some point in the past – in recent versions it’s just an index into the list of devices so should be 0/...,1/...,2/... etc. (having all 0/ will probably still work but the order they appear in the guest would be undefined).

 

Same for PV and HVM.

 

However there are caveats:

·         IIRC XCP 1.6 doesn’t handle multi-function pass-through properly – I think it passes each function through as a separate device. This’ll work in some cases but fail in others.

·         VT-d/IOMMU support is needed (at least for HVM) so this must be enabled in the system BIOS and be working (usually requires a BIOS update and even then YMMV)

·         Not all devices are pass-through friendly – ideally the device will support Function Level Reset (see http://wiki.xen.org/wiki/Xen_PCI_Passthrough for general information about this)

 

For another example see this link which gives some info on how SR-IOV based PCI-passthrough is done on XenServer: http://support.citrix.com/article/CTX131381 (the same rules apply to non-SR-IOV passthrough as well)

 

Regards,

James

 

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Gizmo Chicken
Sent: 07 December 2012 13:19
To: xen-api@xxxxxxxxxxxxx
Cc: d.vander.wurf@xxxxxxxxx
Subject: Re: [Xen-API] XCP PCI Passthrough on HVM how to?

 

Like Donald, I too hope to configure PCI passthrough to an HVM guest in XCP.  And also like Donald, I haven't had much luck finding the relevant documentation.


If PCI passthrough to an HVM guest is possible in XCP, such as through xe or otherwise, would someone please share the basic steps and commands?

Thanks so much for any help that you may be willing to provide.

Best regards,
GizmoChicken

On Tue, Nov 13, 2012 at 11:17 AM, Donald van der Wurf <d.vander.wurf@xxxxxxxxx> wrote:

 

I'd like to do a PCI passthrough for a disk-controller to a HVM guest.

In this article is a tutorial about this but only for a PV-guest. http://wiki.xen.org/wiki/XCP_Ubuntu_PCIPassthrough

Quote from the article: The below is only applicable to PV hosts. In this example the OS used was Ubuntu 10.04 LTS.  

 

How to set this up for a HVM? I've searched the Internet but did not find info on this topic.

 

I tried this, after binding the controller to pciback, but it didn't work: example: xe vm-param-set other-config:pci=0/0000:00:1d.0,0/0000:00:1d.1,0/0000:00:1d.2,0/0000:00:1d.3,0/0000:00:1d.7 uuid=MYUUID

Is this the way to go, or does it work differently for a HVM?

 

kind regards.

 

Donald


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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