Brian Krusic
2010-Jan-08 01:56 UTC
[Xen-users] Dedicated Nvidia PCI passthrough for Linux PVM
Hi, Not trying to be obnoxious on this list. I thought perhaps phrasing the subject line specific will catch some ones eye (hopefully). Would like some help on 2 issues. 1 - I have PCI pass through working for an Nvidia card which is my 2nd graphics adapter and I wish to dedicate it to a particular domU. I had to mod my initrd as follows; mkinitrd -f --preload=pciback /boot/initrd-$(uname -r).img $(uname -r) And also include the following line in /etc/modprob.conf (boot line in grub.conf doesn''t work for me); options pciback hide=(07:00.0) Besides adding the below line in my domU config file; pci = [''07:00.0''] Do I need to add anything else to the domU config? What else do I need to do before compiling Nvidia drivers (I found a few write ups that tell you how to do this) in that domU? 2 - The line of pci = [''07:00.0''] works for traditional domU configs but what would be the syntax for a the new style config used in 3.4.x? Thanks in advance, - Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Jan-08 06:22 UTC
Re: [Xen-users] Dedicated Nvidia PCI passthrough for Linux PVM
On Thu, Jan 07, 2010 at 05:56:09PM -0800, Brian Krusic wrote:> Hi, > Not trying to be obnoxious on this list. > I thought perhaps phrasing the subject line specific will catch some ones > eye (hopefully). > Would like some help on 2 issues. > 1 - I have PCI pass through working for an Nvidia card which is my 2nd > graphics adapter and I wish to dedicate it to a particular domU. > I had to mod my initrd as follows; > mkinitrd -f --preload=pciback /boot/initrd-$(uname -r).img $(uname -r) > And also include the following line in /etc/modprob.conf (boot line in > grub.conf doesn''t work for me); > options pciback hide=(07:00.0) > Besides adding the below line in my domU config file; > > pci = [''07:00.0''] > > Do I need to add anything else to the domU config? > What else do I need to do before compiling Nvidia drivers (I found a few > write ups that tell you how to do this) in that domU? > 2 - The line of pci = [''07:00.0''] works for traditional domU configs but > what would be the syntax for a the new style config used in 3.4.x? > Thanks in advance,See my other reply to you.. I''m pretty sure VGA adapter passthrough to PV guest won''t work. All the people so far have used it with HVM guests. (PV guests are lightweight, by design, and they don''t have things like BIOS and other legacy x86 stuff that VGA requires). -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users