Abhinav Lele
2009-Mar-30 18:31 UTC
[Xen-users] Trouble adding a pci device to a a linux domU
Hi, I want to give direct access to my monitor for my linux domU so that my graphics can run smoothly inside domU which is Ubuntu 8.10 I tried doing the following, but things didn''t work out. 1. I boot my Xen on Debian ( lenny ) using kernel /boot/xen-3.2-1-i386.gz module /boot/vmlinuz-2.6.26-1-xen-686 root=/dev/sdc4 ro console=tty0 pciback.permissive pciback.hide=(00:02.0) module /boot/initrd.img-2.6.26-1-xen-686 I have added my pci device using the following config params for my linux domU pci = [ ''00:02.0'' ] lspci on my dom0 gives me 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GMS/GMEm 943/940GML Express Integrated Graphics Controller (rev 03) .... I have tried changing pci to [ ''00:02.1'' ] but that didnt help either. Any clues to what can work out ? -- Abhinav _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Abhinav Lele
2009-Mar-30 18:38 UTC
[Xen-users] Re: Trouble adding a pci device to a a linux domU
Missed out to specify the error message when I try to start with xm create ubuntu.cfg Error: pci: failed to locate device and parse it''s resources - [Errno 2] No such file or directory: ''/sys/bus/pci/devices/000:00:02.1/drivers'' On Tue, Mar 31, 2009 at 12:01 AM, Abhinav Lele <abhinav.lele@gmail.com>wrote:> Hi, > > I want to give direct access to my monitor for my linux domU so that my > graphics can run smoothly inside domU which is Ubuntu 8.10 > I tried doing the following, but things didn''t work out. > > 1. I boot my Xen on Debian ( lenny ) using > kernel /boot/xen-3.2-1-i386.gz > module /boot/vmlinuz-2.6.26-1-xen-686 root=/dev/sdc4 ro console=tty0 > pciback.permissive pciback.hide=(00:02.0) > module /boot/initrd.img-2.6.26-1-xen-686 > > I have added my pci device using the following config params for my linux > domU > pci = [ ''00:02.0'' ] > > lspci on my dom0 gives me > 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML > and 945GT Express Memory Controller Hub (rev 03) > 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, > 943GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) > 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GMS/GMEm > 943/940GML Express Integrated Graphics Controller (rev 03) > .... > > I have tried changing pci to [ ''00:02.1'' ] but that didnt help either. Any > clues to what can work out ? > > > -- > Abhinav >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users