Skip to contentSkip to conversation

pci passthrough and Xenserver

DISCUSSION Ritu kaur 3 participants 6 messages Mar 8, 2010 – Mar 10, 2010 1 message not in the archive

lore
Share & tools
lore

Ritu kaur

author
#0 lore raw

Hi,

We are running Citrix Xenserver 5.5(dom0) and PV guests(domU). Since VT-d support is not required for PV guests has anyone tried pci passthrough with Citrix Xenserver? If yes what config file changes are required in domU and dom0? I looked at Citrix forums and xen.org/xen-users archives, not getting useful information from it. Inputs much appreciated.

Thanks

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

http://wiki.xensource.com/xenwiki/VTdHowTo

For passthrough (PVs as well), you have to hide the pci device from Dom0 (section Binding Devices to pciback) and then use "pci=['<device-id>']" option in guest config

-dulloor

Quoted 17 lines · Ritu kaur

Hi,

We are running Citrix Xenserver 5.5(dom0) and PV guests(domU). Since VT-d support is not required for PV guests has anyone tried pci passthrough with Citrix Xenserver? If yes what config file changes are required in domU and dom0? I looked at Citrix forums and xen.org/xen-users archives, not getting useful information from it. Inputs much appreciated.

Thanks

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

A message that is not in the archive (sent off-list or not yet received): 15863915.27.1268087855741.JavaMail.root@zimbra5

author
#3 lore raw

Hi,

I did go through vmops.ml and I really didn't get much information on what config file it is reading or what changes are needed. I looked at
http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_modulefrom
the link given by Dullor, not sure whether those changes suffice XCP for pci passthrough hence thought of checking. Any inputs?

Thanks

Quoted 21 lines · James Troup

No PCI passthrough for XenServer AFAIK.
You need XCP for that and then it is still very experimental with NO documentation except what is in the code.
Line 483+
http://xenbits.xen.org/xapi/xen-api.hg?file/a8decf9d3bee/ocaml/xapi/vmops.ml

----- Original Message -----
From: "Ritu kaur" <[email protected]>
To: [email protected], [email protected]
Sent: Tuesday, 9 March, 2010 6:29:49 AM
Subject: [Xen-users] pci passthrough and Xenserver

Hi,

We are running Citrix Xenserver 5.5(dom0) and PV guests(domU). Since VT-d support is not required for PV guests has anyone tried pci passthrough with Citrix Xenserver? If yes what config file changes are required in domU and dom0? I looked at Citrix forums and xen.org/xen-users archives, not getting useful information from it. Inputs much appreciated.

Quoted 8 lines

Thanks

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#4 lore raw

Hi,

I had additional questions(I re-read the Assign_hardware...), and I don't quite follow it completely. The config given is for dom0, it doesn't have any information as to what domU will get access to this pci device? Do I need to change config in domU as well, document doesn't say anything about it. Furthermore, in the document I see references to "xm pci-list-assignable-devices" cli's, however, XCP comes with xe tool-stack, does it come with similar pci commands? I am yet to install XCP, but wanted to check.

Thanks

Quoted 42 lines · Ritu kaur

Hi,

I did go through vmops.ml and I really didn't get much information on
what config file it is reading or what changes are needed. I looked at
http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_modulefrom the link given by Dullor, not sure whether those changes suffice XCP for pci passthrough hence thought of checking. Any inputs?

Thanks

Quoted 29 lines · James Troup

No PCI passthrough for XenServer AFAIK.
You need XCP for that and then it is still very experimental with NO documentation except what is in the code.
Line 483+
http://xenbits.xen.org/xapi/xen-api.hg?file/a8decf9d3bee/ocaml/xapi/vmops.ml

----- Original Message -----
From: "Ritu kaur" <[email protected]>
To: [email protected], [email protected]
Sent: Tuesday, 9 March, 2010 6:29:49 AM
Subject: [Xen-users] pci passthrough and Xenserver

Hi,

We are running Citrix Xenserver 5.5(dom0) and PV guests(domU). Since VT-d support is not required for PV guests has anyone tried pci passthrough with Citrix Xenserver? If yes what config file changes are required in domU and dom0? I looked at Citrix forums and xen.org/xen-users archives, not getting useful information from it. Inputs much appreciated.

Thanks

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

Please don't cross-post.

Quoted 10 lines · Ritu kaur

Hi,

I had additional questions(I re-read the Assign_hardware...), and I don't quite follow it completely. The config given is for dom0, it doesn't have any information as to what domU will get access to this pci device? Do I need to change config in domU as well, document doesn't say anything about it. Furthermore, in the document I see references to "xm pci-list-assignable-devices" cli's, however, XCP comes with xe tool-stack, does it come with similar pci commands? I am yet to install XCP, but wanted to check.

With XenAPI you can set the VM.other-config:pci key to a comma separated list of "<bus>/<bdf>" where bus should always be 0 and <bdf> is the bus-device-function as seen in domain 0. For example to pass device 0000:07:10.0 through to a guest try:

xe vm-param-set uuid=<uuid> other-config:pci=0000:07:10.0

You may need to manually load the pciback module first.

Ian.

Quoted 55 lines

Thanks

On Tue, Mar 9, 2010 at 5:07 PM, Ritu kaur <[email protected]> wrote:
Hi,

I did go through vmops.ml and I really didn't get much
information on what config file it is reading or what changes
are needed. I looked at
http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_module from the link given by Dullor, not sure whether those changes suffice XCP for pci passthrough hence thought of checking. Any inputs?

Thanks

On Mon, Mar 8, 2010 at 2:37 PM, James Troup <[email protected]> wrote:

No PCI passthrough for XenServer AFAIK. You need XCP for that and then it is still very experimental with NO documentation except what is in the code.
Line 483+
http://xenbits.xen.org/xapi/xen-api.hg?file/a8decf9d3bee/ocaml/xapi/vmops.ml

----- Original Message -----
From: "Ritu kaur" <[email protected]>
To: [email protected], [email protected]
Sent: Tuesday, 9 March, 2010 6:29:49 AM
Subject: [Xen-users] pci passthrough and Xenserver

Hi,

We are running Citrix Xenserver 5.5(dom0) and PV guests(domU). Since VT-d support is not required for PV guests has anyone tried pci passthrough with Citrix Xenserver? If yes what config file changes are required in domU and dom0? I looked at Citrix forums and xen.org/xen-users archives, not getting useful information from it. Inputs much appreciated.

Thanks

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

author
#6 lore raw

Hi Ian,

Thank for the inputs, will try this out.

Thanks

Quoted 46 lines · Ian Campbell

Please don't cross-post.

Quoted 10 lines · Ritu kaur

Hi,

I had additional questions(I re-read the Assign_hardware...), and I don't quite follow it completely. The config given is for dom0, it doesn't have any information as to what domU will get access to this pci device? Do I need to change config in domU as well, document doesn't say anything about it. Furthermore, in the document I see references to "xm pci-list-assignable-devices" cli's, however, XCP comes with xe tool-stack, does it come with similar pci commands? I am yet to install XCP, but wanted to check.

With XenAPI you can set the VM.other-config:pci key to a comma separated list of "<bus>/<bdf>" where bus should always be 0 and <bdf> is the bus-device-function as seen in domain 0. For example to pass device 0000:07:10.0 through to a guest try:

xe vm-param-set uuid=<uuid> other-config:pci=0000:07:10.0

You may need to manually load the pciback module first.

Ian.

Quoted 4 lines

Thanks

Quoted 8 lines

On Tue, Mar 9, 2010 at 5:07 PM, Ritu kaur <[email protected]> wrote:
Hi,

I did go through vmops.ml and I really didn't get much information on what config file it is reading or what changes are needed. I looked at

http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_modulefrom the link given by Dullor, not sure whether those changes suffice XCP for pci passthrough hence thought of checking. Any inputs?

Quoted 7 lines
        Thanks

        On Mon, Mar 8, 2010 at 2:37 PM, James Troup
        <[email protected]> wrote:
Quoted 40 lines
Quoted 6 lines

No PCI passthrough for XenServer AFAIK. You need XCP for that and then it is still very experimental with NO documentation except what is in the code.
Line 483+

http://xenbits.xen.org/xapi/xen-api.hg?file/a8decf9d3bee/ocaml/xapi/vmops.ml

Quoted 30 lines

----- Original Message -----
From: "Ritu kaur" <[email protected]>
To: [email protected], [email protected]
Sent: Tuesday, 9 March, 2010 6:29:49 AM
Subject: [Xen-users] pci passthrough and Xenserver

Hi,

We are running Citrix Xenserver 5.5(dom0) and PV guests(domU). Since VT-d support is not required for PV guests has anyone tried pci passthrough with Citrix Xenserver? If yes what config file changes are required in domU and dom0? I looked at Citrix forums and xen.org/xen-users archives, not getting useful information from it. Inputs much appreciated.

Thanks

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users