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
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 > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, as far as I know, Citrix XenServer doesn''t support PCI-PassThru functionality (explanation was something like the VMs with directly attached PCI devices cannot be live migrated to another XenServer host etc). Regards Matej ________________________________________ From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Ritu kaur [ritu.kaur.us@gmail.com] Sent: 08 March 2010 20:59 To: xen-devel@lists.xensource.com; xen-users@lists.xensource.com 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<http://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
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 >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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 >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Campbell
2010-Mar-10 16:05 UTC
Re: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver
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 > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I''m looking into having the same filesystem mounted RO on 8+ DomU''s on a single server and I''m looking for suggestions on the best way to maximize performance. This includes how to improve read caching in the Dom0 while also trying to reduce accesses between Dom0 & DomU. XenFS looked interesting, but is it still an active project? There doesn''t seem to be much activity, the last update on the website was in 2007. What are the recommended ways to do something like this? I''ve even been considering using squashfs since the file will be very static, just to improve the caching. S.W. Xen newb _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ritu kaur
2010-Mar-10 17:48 UTC
Re: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver
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 > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ritu kaur
2010-Mar-12 03:04 UTC
Re: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver
Hi Ian, VM console issue finally worked out fine. executed below steps for pci passthrough, doesn''t work 1. in dom0, ran a. modprobe pciback b. xe vm-param-set uuid=91c50844-9228-2650-89ad-08b42c450cb7 other-config:pci=0/0000:08:01.0 c. xe vm-param-list uuid=91c50844-9228-2650-89ad-08b42c450cb7 | grep other-config other-config (MRW): last_shutdown_time: 20100312T02:46:10Z; last_shutdown_action: Restart; last_shutdown_initiator: external; last_shutdown_reason: rebooted; pci: 0/0000:08:01.0; install-repository: http://ftp.debian.org/; mac_seed: 5bfac0e7-362a-9418-03c0-ef95c703457a; linux_template: true; install-methods: cdrom,http,ftp; install-arch: i386; debian-release: lenny 2. in domU a. compiled driver for my pci controller b. insmod driver.ko c. depmod -a and manually copied driver.ko into /lib/modules/2.6.../kernel/drivers/net/driver.ko 3. from dom0, rebooted domU(via xe vm-reboot..) 4. after domU is up, a. lspci in domU shows nothing b. ifconfig/ifconfig -a shows no interface c. driver doesn''t seem to load during boot(lsmod doesn''t list it, did modprobe again) 5. lspci in dom0 still lists the pci device. so not sure what am I missing or where I went wrong. Any inputs? Thanks On Wed, Mar 10, 2010 at 9:48 AM, Ritu kaur <ritu.kaur.us@gmail.com> wrote:> 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 >> > >> > >> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ritu kaur
2010-Mar-12 04:13 UTC
Re: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver
Hi, I went through below thread from xen-users http://lists.xensource.com/archives/html/xen-users/2010-02/msg00820.html basically, if I understand this correctly, pcifront driver need to be loaded in domU. My dmesg from domU Debian Lenny 5.0 has similar messages mentioned in that thread. I went to wiki.debian.org and couldn''t figure out what kernel I need to load or reinstall or should I build domU kernel myself. I thought xenwiki installation guide would point to correct domU kernel with all necessary modules compiled, it doesn''t look like that''s the case. Any inputs would be very helpful. Thanks On Thu, Mar 11, 2010 at 7:04 PM, Ritu kaur <ritu.kaur.us@gmail.com> wrote:> Hi Ian, > > VM console issue finally worked out fine. executed below steps for pci > passthrough, doesn''t work > > 1. in dom0, ran > > a. modprobe pciback > b. xe vm-param-set uuid=91c50844-9228-2650-89ad-08b42c450cb7 > other-config:pci=0/0000:08:01.0 > > c. xe vm-param-list uuid=91c50844-9228-2650-89ad-08b42c450cb7 | grep > other-config > other-config (MRW): last_shutdown_time: > 20100312T02:46:10Z; last_shutdown_action: Restart; last_shutdown_initiator: > external; last_shutdown_reason: rebooted; pci: 0/0000:08:01.0; > install-repository: http://ftp.debian.org/; mac_seed: > 5bfac0e7-362a-9418-03c0-ef95c703457a; linux_template: true; install-methods: > cdrom,http,ftp; install-arch: i386; debian-release: lenny > > > 2. in domU > > a. compiled driver for my pci controller > > b. insmod driver.ko > > c. depmod -a and manually copied driver.ko into > /lib/modules/2.6.../kernel/drivers/net/driver.ko > > 3. from dom0, rebooted domU(via xe vm-reboot..) > > 4. after domU is up, > > a. lspci in domU shows nothing > b. ifconfig/ifconfig -a shows no interface > c. driver doesn''t seem to load during boot(lsmod doesn''t list it, did > modprobe again) > > 5. lspci in dom0 still lists the pci device. > > so not sure what am I missing or where I went wrong. Any inputs? > > Thanks > > > On Wed, Mar 10, 2010 at 9:48 AM, Ritu kaur <ritu.kaur.us@gmail.com> wrote: > >> 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 >>> > >>> > >>> >>> >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Campbell
2010-Mar-12 07:32 UTC
Re: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver
On Fri, 2010-03-12 at 03:04 +0000, Ritu kaur wrote:> > 4. after domU is up, > > a. lspci in domU shows nothing > b. ifconfig/ifconfig -a shows no interface > c. driver doesn''t seem to load during boot(lsmod doesn''t list it, did > modprobe again)You seem to be using Lenny as your domU. I don''t think the kernel used in Lenny has pcifront support. You could try installing a more up to date pvops kernel in your domU.> 5. lspci in dom0 still lists the pci device.That is normal. The driver which is bound to the device is in domain 0 should be pciback not something else. Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ritu kaur
2010-Mar-12 15:18 UTC
Re: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver
what version of Debian Lenny should I be using for domU? I see below snippets in wiki.debian.org/Xen The default Lenny kernel is the newer paravirt_ops version (2.6.26), which does not function as a dom0 (except for the -xen variants, which have dom0 support but also some issues running as domU (please clarify?). It will also not support PCI passthrough in a domU. For PCI passthrough, you have to run the 2.6.18 etch kernel as both dom0 and domU. Can you please point me to a domU kernel binary with PV drivers compiled in it and works with XCP 0.1.1 pci passthrough? Thanks On Thu, Mar 11, 2010 at 11:32 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> On Fri, 2010-03-12 at 03:04 +0000, Ritu kaur wrote: > > > > 4. after domU is up, > > > > a. lspci in domU shows nothing > > b. ifconfig/ifconfig -a shows no interface > > c. driver doesn''t seem to load during boot(lsmod doesn''t list it, did > > modprobe again) > > You seem to be using Lenny as your domU. I don''t think the kernel used > in Lenny has pcifront support. You could try installing a more up to > date pvops kernel in your domU. > > > 5. lspci in dom0 still lists the pci device. > > That is normal. The driver which is bound to the device is in domain 0 > should be pciback not something else. > > Ian. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Matej Zary
2010-Mar-12 20:02 UTC
RE: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver
Hi, Etch (old stable) xen kernel should be still in repositories AFAIK. http://packages.debian.org/search?keywords=xen-linux-system&searchon=names&suite=oldstable§ion=all Just add line into /etc/apt/sources with Etch repositories. Set bigger priority for Lenny with apt-pinning. (http://jaqque.sbih.org/kplug/apt-pinning.html) Install the 2.6.18xen kernel with aptitude (aptitude update; aptitude install xen-linux-system-2.6.18-4-xen-amd64/oldstable) Haven''t tried yet, but should work eventually. :) Regards Matej ________________________________________ From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Ritu kaur [ritu.kaur.us@gmail.com] Sent: 12 March 2010 16:18 To: Ian Campbell Cc: xen-users@lists.xensource.com Subject: Re: [Xen-devel] Re: [Xen-users] pci passthrough and Xenserver what version of Debian Lenny should I be using for domU? I see below snippets in wiki.debian.org/Xen The default Lenny kernel is the newer paravirt_ops version (2.6.26), which does not function as a dom0 (except for the -xen variants, which have dom0 support but also some issues running as domU (please clarify?). It will also not support PCI passthrough in a domU. For PCI passthrough, you have to run the 2.6.18 etch kernel as both dom0 and domU. Can you please point me to a domU kernel binary with PV drivers compiled in it and works with XCP 0.1.1 pci passthrough? Thanks On Thu, Mar 11, 2010 at 11:32 PM, Ian Campbell <Ian.Campbell@citrix.com<mailto:Ian.Campbell@citrix.com>> wrote: On Fri, 2010-03-12 at 03:04 +0000, Ritu kaur wrote:> > 4. after domU is up, > > a. lspci in domU shows nothing > b. ifconfig/ifconfig -a shows no interface > c. driver doesn''t seem to load during boot(lsmod doesn''t list it, did > modprobe again)You seem to be using Lenny as your domU. I don''t think the kernel used in Lenny has pcifront support. You could try installing a more up to date pvops kernel in your domU.> 5. lspci in dom0 still lists the pci device.That is normal. The driver which is bound to the device is in domain 0 should be pciback not something else. Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users