* pci passthrough and Xenserver
@ 2010-03-08 19:59 Ritu kaur
2010-03-08 21:00 ` Dulloor
[not found] ` <15863915.27.1268087855741.JavaMail.root@zimbra5>
0 siblings, 2 replies; 6+ messages in thread
From: Ritu kaur @ 2010-03-08 19:59 UTC (permalink / raw)
To: xen-devel, xen-users
[-- Attachment #1.1: Type: text/plain, Size: 367 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 429 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: pci passthrough and Xenserver 2010-03-08 19:59 pci passthrough and Xenserver Ritu kaur @ 2010-03-08 21:00 ` Dulloor [not found] ` <15863915.27.1268087855741.JavaMail.root@zimbra5> 1 sibling, 0 replies; 6+ messages in thread From: Dulloor @ 2010-03-08 21:00 UTC (permalink / raw) To: Ritu kaur; +Cc: xen-devel, xen-users 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 On Mon, Mar 8, 2010 at 2:59 PM, Ritu kaur <ritu.kaur.us@gmail.com> wrote: > 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 > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <15863915.27.1268087855741.JavaMail.root@zimbra5>]
* Re: [Xen-users] pci passthrough and Xenserver [not found] ` <15863915.27.1268087855741.JavaMail.root@zimbra5> @ 2010-03-10 1:07 ` Ritu kaur 2010-03-10 1:29 ` Ritu kaur 0 siblings, 1 reply; 6+ messages in thread From: Ritu kaur @ 2010-03-10 1:07 UTC (permalink / raw) To: xen-devel, xen-users [-- Attachment #1.1: Type: text/plain, Size: 1474 bytes --] 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 On Mon, Mar 8, 2010 at 2:37 PM, James Troup <james@linuxterminal.com> 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" <ritu.kaur.us@gmail.com> > To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com > 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 > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > [-- Attachment #1.2: Type: text/html, Size: 2584 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xen-users] pci passthrough and Xenserver 2010-03-10 1:07 ` [Xen-users] " Ritu kaur @ 2010-03-10 1:29 ` Ritu kaur 2010-03-10 16:05 ` Ian Campbell 0 siblings, 1 reply; 6+ messages in thread From: Ritu kaur @ 2010-03-10 1:29 UTC (permalink / raw) To: xen-devel, xen-users [-- Attachment #1.1: Type: text/plain, Size: 2128 bytes --] 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 On Tue, Mar 9, 2010 at 5:07 PM, Ritu kaur <ritu.kaur.us@gmail.com> 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? > > Thanks > > On Mon, Mar 8, 2010 at 2:37 PM, James Troup <james@linuxterminal.com>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" <ritu.kaur.us@gmail.com> >> To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com >> 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 >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > [-- Attachment #1.2: Type: text/html, Size: 3628 bytes --] [-- Attachment #2: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: [Xen-users] pci passthrough and Xenserver 2010-03-10 1:29 ` Ritu kaur @ 2010-03-10 16:05 ` Ian Campbell 2010-03-10 17:48 ` [Xen-devel] " Ritu kaur 0 siblings, 1 reply; 6+ messages in thread From: Ian Campbell @ 2010-03-10 16:05 UTC (permalink / raw) To: Ritu kaur; +Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com Please don't cross-post. On Wed, 2010-03-10 at 01:29 +0000, Ritu kaur wrote: > 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. > > Thanks > > > On Tue, Mar 9, 2010 at 5:07 PM, Ritu kaur <ritu.kaur.us@gmail.com> > 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 > <james@linuxterminal.com> 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" <ritu.kaur.us@gmail.com> > To: xen-devel@lists.xensource.com, > xen-users@lists.xensource.com > 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 > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xen-devel] Re: pci passthrough and Xenserver 2010-03-10 16:05 ` Ian Campbell @ 2010-03-10 17:48 ` Ritu kaur 0 siblings, 0 replies; 6+ messages in thread From: Ritu kaur @ 2010-03-10 17:48 UTC (permalink / raw) To: Ian Campbell; +Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com [-- Attachment #1.1: Type: text/plain, Size: 3334 bytes --] Hi Ian, Thank for the inputs, will try this out. Thanks On Wed, Mar 10, 2010 at 8:05 AM, Ian Campbell <Ian.Campbell@citrix.com>wrote: > Please don't cross-post. > > On Wed, 2010-03-10 at 01:29 +0000, Ritu kaur wrote: > > 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. > > > > > Thanks > > > > > > On Tue, Mar 9, 2010 at 5:07 PM, Ritu kaur <ritu.kaur.us@gmail.com> > > 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? > > > > Thanks > > > > On Mon, Mar 8, 2010 at 2:37 PM, James Troup > > <james@linuxterminal.com> 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" <ritu.kaur.us@gmail.com> > > To: xen-devel@lists.xensource.com, > > xen-users@lists.xensource.com > > 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 > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > [-- Attachment #1.2: Type: text/html, Size: 5050 bytes --] [-- Attachment #2: Type: text/plain, Size: 137 bytes --] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-03-10 17:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 19:59 pci passthrough and Xenserver Ritu kaur
2010-03-08 21:00 ` Dulloor
[not found] ` <15863915.27.1268087855741.JavaMail.root@zimbra5>
2010-03-10 1:07 ` [Xen-users] " Ritu kaur
2010-03-10 1:29 ` Ritu kaur
2010-03-10 16:05 ` Ian Campbell
2010-03-10 17:48 ` [Xen-devel] " Ritu kaur
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).