I''ve just installed Xen 4 and am working to get VGA passthrough configured. I seem to have that piece successfully configured, but, unfortunately, have no keyboard and mouse support in my new VM. If I try USB pass-through, I get the following error message in the qemu-dm-<domain>.log file: husb: open device 7.2 husb: config #1 need -1 husb: 1 interfaces claimed for configuration 1 husb: grabbed usb device 7.2 usb_linux_update_endp_table: Broken pipe Warning: could not add USB device host:0488:00df Yes, I have verified that usbfs is mounted on /proc/bus/usb - this is not the issue. I decided to try forwarding through the entire USB controller using PCI. The challenge here is that there are about 7 different PCI devices that make up the USB controller (integrated into the motherboard). I added all of these devices to the pciback.hide option at boot time, then tried to forward them through to the HVM domU, but for some reason this does not work - the devices are never reported under "pci-list-assignable-devices" as assignable, and when I try to start the VM, I get errors about pciback not owning the PCI devices. Can someone offer any advice as to the best way to get the keyboard and mouse forwarded through along with VGA? Thanks! -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 18:01 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 11:49:01AM -0600, Nick Couchman wrote:> I''ve just installed Xen 4 and am working to get VGA passthrough configured. I seem to have that piece successfully configured, but, unfortunately, have no keyboard and mouse support in my new VM. If I try USB pass-through, I get the following error message in the qemu-dm-<domain>.log file: > > husb: open device 7.2 > husb: config #1 need -1 > husb: 1 interfaces claimed for configuration 1 > husb: grabbed usb device 7.2 > usb_linux_update_endp_table: Broken pipe > Warning: could not add USB device host:0488:00df >Was the USB device in use in dom0? Does this wiki page help?: http://wiki.xensource.com/xenwiki/XenUSBPassthrough> Yes, I have verified that usbfs is mounted on /proc/bus/usb - this is not the issue. I decided to try forwarding through the entire USB controller using PCI. The challenge here is that there are about 7 different PCI devices that make up the USB controller (integrated into the motherboard). I added all of these devices to the pciback.hide option at boot time, then tried to forward them through to the HVM domU, but for some reason this does not work - the devices are never reported under "pci-list-assignable-devices" as assignable, and when I try to start the VM, I get errors about pciback not owning the PCI devices. >Which dom0 kernel are you using? Did you read this: http://wiki.xensource.com/xenwiki/XenPCIpassthrough Especially the fact that pvops dom0 kernel has xen-pciback and not just pciback.. I assume you also read this?: http://wiki.xensource.com/xenwiki/XenVGAPassthrough -- Pasi> > Can someone offer any advice as to the best way to get the keyboard and mouse forwarded through along with VGA? > > Thanks! > -Nick > > > > -------- > This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. > > _______________________________________________ > 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
Jeremy Blosser
2010-Apr-08 18:11 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Apr 08, Nick Couchman [Nick.Couchman@seakr.com] wrote:> I''ve just installed Xen 4 and am working to get VGA passthrough > configured. I seem to have that piece successfully configured, but, > unfortunately, have no keyboard and mouse support in my new VM. If I try > USB pass-through, I get the following error message in the > qemu-dm-<domain>.log file:I am getting ready to attempt this as well so please let us know if you figure it out whether anyone here has the answer or not. I did note with some concern that the current http://wiki.xensource.com/xenwiki/XenDom0Kernels states the pv_ops kernel lacks usbback, but http://wiki.xensource.com/xenwiki/XenDom0Kernels recently indicated vga passthrough was only available in the pv_ops kernel. The latter page was modified today or yesterday to no longer have that chart, though, and the version on http://wiki.xensource.com/xenwiki/XenKernelFeatures doesn''t say anything about vga passthrough. So I don''t really know the real state, but that at least looked like you could have either hvm vga passthrough OR hvm usb passthrough. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jeremy Blosser
2010-Apr-08 18:16 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Apr 08, Jeremy Blosser [jblosser-xen@firinn.org] wrote:> So I don''t really know the real state, but that at least looked like you > could have either hvm vga passthrough OR hvm usb passthrough.Oops, just saw the earlier thread mentioning that new page and Pasi indicating he didn''t think gfx passthrough was a kernel piece at all. If that''s the case it''s not an issue... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 18:55 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 01:11:01PM -0500, Jeremy Blosser wrote:> On Apr 08, Nick Couchman [Nick.Couchman@seakr.com] wrote: > > I''ve just installed Xen 4 and am working to get VGA passthrough > > configured. I seem to have that piece successfully configured, but, > > unfortunately, have no keyboard and mouse support in my new VM. If I try > > USB pass-through, I get the following error message in the > > qemu-dm-<domain>.log file: > > I am getting ready to attempt this as well so please let us know if you > figure it out whether anyone here has the answer or not. > > I did note with some concern that the current > http://wiki.xensource.com/xenwiki/XenDom0Kernels states the pv_ops kernel > lacks usbback, but http://wiki.xensource.com/xenwiki/XenDom0Kernels > recently indicated vga passthrough was only available in the pv_ops kernel. > The latter page was modified today or yesterday to no longer have that > chart, though, and the version on > http://wiki.xensource.com/xenwiki/XenKernelFeatures doesn''t say anything > about vga passthrough. > > So I don''t really know the real state, but that at least looked like you > could have either hvm vga passthrough OR hvm usb passthrough. >usbback is only required for _pvusb_, not for the traditional qemu USB 1.1 passthrough! VGApassthrough should work OK with pvops dom0 kernel.. it''s mainly about Xen doing correct things. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 19:02 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 09:55:59PM +0300, Pasi Kärkkäinen wrote:> On Thu, Apr 08, 2010 at 01:11:01PM -0500, Jeremy Blosser wrote: > > On Apr 08, Nick Couchman [Nick.Couchman@seakr.com] wrote: > > > I''ve just installed Xen 4 and am working to get VGA passthrough > > > configured. I seem to have that piece successfully configured, but, > > > unfortunately, have no keyboard and mouse support in my new VM. If I try > > > USB pass-through, I get the following error message in the > > > qemu-dm-<domain>.log file: > > > > I am getting ready to attempt this as well so please let us know if you > > figure it out whether anyone here has the answer or not. > > > > I did note with some concern that the current > > http://wiki.xensource.com/xenwiki/XenDom0Kernels states the pv_ops kernel > > lacks usbback, but http://wiki.xensource.com/xenwiki/XenDom0Kernels > > recently indicated vga passthrough was only available in the pv_ops kernel. > > The latter page was modified today or yesterday to no longer have that > > chart, though, and the version on > > http://wiki.xensource.com/xenwiki/XenKernelFeatures doesn''t say anything > > about vga passthrough. > > > > So I don''t really know the real state, but that at least looked like you > > could have either hvm vga passthrough OR hvm usb passthrough. > > > > usbback is only required for _pvusb_, not for the traditional qemu USB 1.1 passthrough! > > VGApassthrough should work OK with pvops dom0 kernel.. it''s mainly about Xen doing correct things. >See: http://wiki.xensource.com/xenwiki/XenUSBPassthrough -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Apr-08 19:20 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
> > Which dom0 kernel are you using?I''m running openSuSE 11.2, so it is not the PV OPS dom0, nor is it 2.6.18, exactly. Closer to 2.6.18, though, I believe.> > Did you read this: > http://wiki.xensource.com/xenwiki/XenPCIpassthrough > > Especially the fact that pvops dom0 kernel has xen-pciback and not just > pciback..Yep...and I actually managed to get PCI forwarding for the video card and the USB controller working...mostly. I''m still getting an error when I try to forward PCI devices for my USB 2.0 controller through - the error is this: Error: pci: 0000:00:1d.7: non-page-aligned MMIO BAR found If I just do the USB 1.1 controllers, it works fine - both of the on-board 2.0 controllers behave this way, though. I have tried the guestdev, reassigndev, and reassign_resources parameters on the kernel boot line, to no avail. Any further hints on this front would be appreciated!> > > I assume you also read this?: > http://wiki.xensource.com/xenwiki/XenVGAPassthrough > > -- PasiYep - got this working, no problem! Thanks! -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 19:26 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 01:20:22PM -0600, Nick Couchman wrote:> > > > Which dom0 kernel are you using? > > I''m running openSuSE 11.2, so it is not the PV OPS dom0, nor is it 2.6.18, exactly. Closer to 2.6.18, though, I believe. >OK.> > > > Did you read this: > > http://wiki.xensource.com/xenwiki/XenPCIpassthrough > > > > Especially the fact that pvops dom0 kernel has xen-pciback and not just > > pciback.. > > Yep...and I actually managed to get PCI forwarding for the video card and the USB controller working...mostly. I''m still getting an error when I try to forward PCI devices for my USB 2.0 controller through - the error is this: > > Error: pci: 0000:00:1d.7: non-page-aligned MMIO BAR found >http://wiki.xensource.com/xenwiki/XenPCIpassthrough has an entry about exactly this problem..> If I just do the USB 1.1 controllers, it works fine - both of the on-board 2.0 controllers behave this way, though. I have tried the guestdev, reassigndev, and reassign_resources parameters on the kernel boot line, to no avail. Any further hints on this front would be appreciated! >You need to figure out the proper parameter for your kernel, and use it.. it should fix the problem. What''s the exact dom0 kernel version you have? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Apr-08 19:55 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
> > http://wiki.xensource.com/xenwiki/XenPCIpassthrough has an entry about > exactly this problem.. > >> If I just do the USB 1.1 controllers, it works fine - both of the on-board 2.0 > controllers behave this way, though. I have tried the guestdev, reassigndev, > and reassign_resources parameters on the kernel boot line, to no avail. Any > further hints on this front would be appreciated! >> > > You need to figure out the proper parameter for your kernel, and use it.. it > should fix the problem. > > What''s the exact dom0 kernel version you have?My kernel version is: 2.6.31.12-0.2-xen (Not PVOPS) pciback.hide option seems to work, so I''ve attempted to add both the "reassigndev" and "reassign_resources" options to the boot prompt. This has not worked. I also have the pciback.permissive option. -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 20:01 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 01:55:26PM -0600, Nick Couchman wrote:> > > > http://wiki.xensource.com/xenwiki/XenPCIpassthrough has an entry about > > exactly this problem.. > > > >> If I just do the USB 1.1 controllers, it works fine - both of the on-board 2.0 > > controllers behave this way, though. I have tried the guestdev, reassigndev, > > and reassign_resources parameters on the kernel boot line, to no avail. Any > > further hints on this front would be appreciated! > >> > > > > You need to figure out the proper parameter for your kernel, and use it.. it > > should fix the problem. > > > > What''s the exact dom0 kernel version you have? > > My kernel version is: > 2.6.31.12-0.2-xen > > (Not PVOPS) > > pciback.hide option seems to work, so I''ve attempted to add both the "reassigndev" and "reassign_resources" options to the boot prompt. This has not worked. I also have the pciback.permissive option. >Did you try: pci=resource_alignment=0X:0Y.0 Maybe all 2.6.3x kernels use that syntax? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Apr-08 21:09 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
>> > > Did you try: pci=resource_alignment=0X:0Y.0 > > Maybe all 2.6.3x kernels use that syntax? >Aha! I had to try it a few times to get the syntax correct for multiple devices - seems that you need a ";" between multiple PCI devices for this argument, instead of the "," or "()" for the other arguments. Seems to be working, now, though! Thanks, Pasi! -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 21:27 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 03:09:01PM -0600, Nick Couchman wrote:> >> > > > > Did you try: pci=resource_alignment=0X:0Y.0 > > > > Maybe all 2.6.3x kernels use that syntax? > > > > Aha! I had to try it a few times to get the syntax correct for multiple devices - seems that you need a ";" between multiple PCI devices for this argument, instead of the "," or "()" for the other arguments. Seems to be working, now, though! >Can you please paste an example here.. I can then update the wiki page.> Thanks, Pasi! >No problems.. nice to hear it works. What VGA adapter are you using btw? -- Pasi> -Nick > > > > -------- > This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Apr-08 21:32 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
> > Can you please paste an example here.. I can then update the wiki page.My boot entry looks like this: title Xen -- openSUSE 11.2 - 2.6.31.12-0.2 Hide root (hd0,1) kernel /boot/xen.gz com1=115200,8n1 console=com1 module /boot/vmlinuz-2.6.31.12-0.2-xen root=/dev/disk/by-id/ata-ST3160815AS_9RXC1XN0-part2 showopts pciback.permissive pciback.hide=(00:02.0)(00:02.1)(00:1d.0)(00:1d.1)(00:1d.2)(00:1d.7)(00:1a.0)(00:1a.1)(00:1a.7)(00:1b.0) pci=resource_alignment=00:1a.7;00:1d.7 console=ttyS0 module /boot/initrd-2.6.31.12-0.2-xen> >> Thanks, Pasi! >> > > No problems.. nice to hear it works. > What VGA adapter are you using btw?The machine is a Dell Optiplex 755, and I''m using the on-board video adapter, an Intel Q35 Express. lspci shows it as: 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:02.1 Display controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 21:49 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 03:32:30PM -0600, Nick Couchman wrote:> > > > Can you please paste an example here.. I can then update the wiki page. > > My boot entry looks like this: > > title Xen -- openSUSE 11.2 - 2.6.31.12-0.2 Hide > root (hd0,1) > kernel /boot/xen.gz com1=115200,8n1 console=com1 > module /boot/vmlinuz-2.6.31.12-0.2-xen root=/dev/disk/by-id/ata-ST3160815AS_9RXC1XN0-part2 showopts pciback.permissive pciback.hide=(00:02.0)(00:02.1)(00:1d.0)(00:1d.1)(00:1d.2)(00:1d.7)(00:1a.0)(00:1a.1)(00:1a.7)(00:1b.0) pci=resource_alignment=00:1a.7;00:1d.7 console=ttyS0 > module /boot/initrd-2.6.31.12-0.2-xen >Thanks, I updated the wiki: http://wiki.xensource.com/xenwiki/XenPCIpassthrough> > > >> Thanks, Pasi! > >> > > > > No problems.. nice to hear it works. > > What VGA adapter are you using btw? > > The machine is a Dell Optiplex 755, and I''m using the on-board video adapter, an Intel Q35 Express. lspci shows it as: > > 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) > 00:02.1 Display controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) >Ok. Intel IGDs work easily.. I guess mainly because Intel developed the VGA passthru code :) Nvidia/ATI adapters are more troublesome.. and might require some custom patches for FLR. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Apr-08 21:52 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
> > Thanks, I updated the wiki: > http://wiki.xensource.com/xenwiki/XenPCIpassthrough >Awesome - thanks!> > Ok. Intel IGDs work easily.. I guess mainly because Intel developed the VGA > passthru code :) > > Nvidia/ATI adapters are more troublesome.. and might require some custom > patches for FLR. >I plan to try some add-in adapters - probably ATI - here before too long, as I want to see about the dual-monitor support with the graphics pass-through. I''ll have to see if I have any cards around that I can throw in and try. -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 21:58 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 03:52:15PM -0600, Nick Couchman wrote:> > > > Ok. Intel IGDs work easily.. I guess mainly because Intel developed the VGA > > passthru code :) > > > > Nvidia/ATI adapters are more troublesome.. and might require some custom > > patches for FLR. > > > > I plan to try some add-in adapters - probably ATI - here before too long, as I want to see about the dual-monitor support with the graphics pass-through. I''ll have to see if I have any cards around that I can throw in and try. >I just added your IGD model info to: http://wiki.xensource.com/xenwiki/XenVGAPassthrough Feel free to tell how it goes with the ATI adapter. There has been extra patches floating on the xen-devel list for some other troublesome adapters. Although it might just work with ATI aswell, who knows :) -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-08 22:04 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Fri, Apr 09, 2010 at 12:58:15AM +0300, Pasi Kärkkäinen wrote:> On Thu, Apr 08, 2010 at 03:52:15PM -0600, Nick Couchman wrote: > > > > > > Ok. Intel IGDs work easily.. I guess mainly because Intel developed the VGA > > > passthru code :) > > > > > > Nvidia/ATI adapters are more troublesome.. and might require some custom > > > patches for FLR. > > > > > > > I plan to try some add-in adapters - probably ATI - here before too long, as I want to see about the dual-monitor support with the graphics pass-through. I''ll have to see if I have any cards around that I can throw in and try. > > > > I just added your IGD model info to: > http://wiki.xensource.com/xenwiki/XenVGAPassthrough >Btw did you passthru both of the PCI devices, or just one? -- Pasi> Feel free to tell how it goes with the ATI adapter. There has been extra patches > floating on the xen-devel list for some other troublesome adapters. > > Although it might just work with ATI aswell, who knows :) > > -- Pasi > > > _______________________________________________ > 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
Nick Couchman
2010-Apr-08 22:06 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
> > Btw did you passthru both of the PCI devices, or just one? > > -- Pasi >I tried it with both settings, but I didn''t install the native driver until after I had passed through both devices. Passing through the VGA one (00:02.0) seemed to work fine, but, again, I didn''t try that with the native Intel driver installed (yet). -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Apr-09 15:45 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
> > I just added your IGD model info to: > http://wiki.xensource.com/xenwiki/XenVGAPassthrough > > Feel free to tell how it goes with the ATI adapter. There has been extra > patches > floating on the xen-devel list for some other troublesome adapters. > > Although it might just work with ATI aswell, who knows :) >Well, the initial attempts with an Nvidia card aren''t quite so successful - the domain tries to start, but stalls at some point - hard to tell where. I get messages in the qemu-dm log file that say that the real physical device 01:00.0 (the PCI slot of the add-in video card) has been successfully registered, but then it kind of stalls and doesn''t go any further than that. I need to make sure I have the actual 4.0 release and not one of the RCs (I''m using some pre-built RPMs for openSuSE), so perhaps that will help. -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-09 16:45 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Fri, Apr 09, 2010 at 09:45:03AM -0600, Nick Couchman wrote:> > > > I just added your IGD model info to: > > http://wiki.xensource.com/xenwiki/XenVGAPassthrough > > > > Feel free to tell how it goes with the ATI adapter. There has been extra > > patches > > floating on the xen-devel list for some other troublesome adapters. > > > > Although it might just work with ATI aswell, who knows :) > > > > Well, the initial attempts with an Nvidia card aren''t quite so successful - the domain tries to start, but stalls at some point - hard to tell where. I get messages in the qemu-dm log file that say that the real physical device 01:00.0 (the PCI slot of the add-in video card) has been successfully registered, but then it kind of stalls and doesn''t go any further than that. I need to make sure I have the actual 4.0 release and not one of the RCs (I''m using some pre-built RPMs for openSuSE), so perhaps that will help. >Also keep in mind many Nvidia cards will require extra/custom patches.. See the XenVGAPassthrough wiki page for some links, and xen-devel archives for discussions and more patches.. I think some of the threads has instructions what you need to do with Nvidia to get it working. Please let us know how it goes.. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-12 07:49 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
On Thu, Apr 08, 2010 at 04:06:27PM -0600, Nick Couchman wrote:> > > > Btw did you passthru both of the PCI devices, or just one? > > > > -- Pasi > > > > I tried it with both settings, but I didn''t install the native driver until after I had passed through both devices. Passing through the VGA one (00:02.0) seemed to work fine, but, again, I didn''t try that with the native Intel driver installed (yet). >Btw what was the guest OS and driver? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2010-Apr-12 13:40 UTC
Re: [Xen-users] Xen 4 VGA Passthrough - Keyboard/Mouse?
> Btw what was the guest OS and driver?Windows XP is the guest O/S - the driver I''m currently using is the Dell-provided Intel Graphics Adapter driver. For the Nvidia card, I did not get as far as installing a driver - the domU simply would not start with the add-in graphics card specified as a pass-through device. -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users