[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] XCP 1.6 and GPU passthrough


  • To: 'Guillaume Thouvenin' <guillaume.thouvenin@xxxxxxxxxx>, "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Rob Hoes <Rob.Hoes@xxxxxxxxxx>
  • Date: Tue, 12 Mar 2013 17:38:32 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Tue, 12 Mar 2013 17:38:42 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: Ac4fP+clQrSlQuwASnuF7CsW99GM2gABuI9w
  • Thread-topic: [Xen-API] XCP 1.6 and GPU passthrough

Hi Guillaume,

Is your VM a PV guest? I think you are hitting a known issue where passing 
through multiple PCI devices to a PV guest is not working.

Instead of using the low-level PCI passthrough options (other-config:pci), you 
could also try to use the dedicated GPU API that is present in XCP 1.6. I think 
this would only work for HVM guests, though.

To do this, try the following command to see if your card was detected by XCP:

    xe gpu-group-list

And then add a vGPU to your VM:

    xe vpgu-create gpu-group-uuid=<uuid_of_gpu_group> vm-uuid=<uuid_of_vm>

...and start you VM, and install the nVIDIA drivers.

Cheers,
Rob

> -----Original Message-----
> From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-
> bounces@xxxxxxxxxxxxx] On Behalf Of Guillaume Thouvenin
> Sent: 12 March 2013 4:34 PM
> To: xen-api@xxxxxxxxxxxxx
> Subject: [Xen-API] XCP 1.6 and GPU passthrough
> 
> Hello,
> 
> I'm running XCP 1.6 and I installed an ubuntu 12.04.02 as a VM. My machine
> has two GPU M2070Q and I'd like to do PCI passthrough to allow my VM to
> use those GPUs.
> 
> I modified the /boot/extlinux.conf to add the option "xen-
> pciback.hide=(02:00.0)(02:00.1)(83:00.0)(83:00.1)" as PCIDEV_BACKEND is
> built in the kernel (according to /boot/config-2.6.32.43-
> 0.4.1.xs1.6.10.734.170748xen
> 
> I rebooted XCP but when I run lspci in dom0, pci devices 02:... and 83:... are
> still listed.
> 
> I set parameter other-config in my VM by doing:
> xe vm-param-set
> other-config:pci=0/0000:02:00.0,0/0000:02:00.1,0/0000:83:00.0,0/0000:83:00.1
> uuid=b6fcf...
> 
> But when I start the VM I got the following error:
> 
> The server failed to handle your request, due to an internal error.
> The given message may give details useful for debugging the problem.
> message: xenopsd internal error: Xenctrl.Error("38: Function not
> implemented")
> 
> I tried to replace xen-pciback.hide= by pciback.hide= as I saw both on google
> but both have the same effect.
> 
> Any hints? I also like to know if someone already achieve to do PCI
> passthrouhg with a 3D graphic card on XCP 1.6? If yes can I have its recipe :)
> 
> Thanks everyone for you help,
> Best regards,
> 
> Guillaume
> 
> 
> _______________________________________________
> Xen-api mailing list
> Xen-api@xxxxxxxxxxxxx
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.