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

Re: [Xen-API] GPU passthrough: multiple vGPUs on the same VM


  • To: 'Andrea Curtoni' <andrea.curtoni@xxxxxxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Rob Hoes <Rob.Hoes@xxxxxxxxxx>
  • Date: Fri, 12 Jul 2013 13:48:38 +0000
  • Accept-language: en-GB, en-US
  • Delivery-date: Fri, 12 Jul 2013 13:48:53 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHOfk4cTeGgNl8IiU+/lNNaGXnep5lfo3YAgAFPXwCAABvBwA==
  • Thread-topic: [Xen-API] GPU passthrough: multiple vGPUs on the same VM

Cool! Thanks for reporting back.

 

One slight note is that other-config:pci is a little more low-level than the GPU-specific functions. Because you are linking a VM to specific PCI devices, it essentially gets tied down to a particular host. Furthermore, nothing is stopping you from starting multiple VMs with the same PCI devices, and the outcome would be unpredictable. So you need to be a little careful with this, but as long as you know what you are doing, things should work fine.

 

Cheers,

Rob

 

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Andrea Curtoni
Sent: 12 July 2013 2:03 PM
To: xen-api@xxxxxxxxxxxxx
Subject: Re: [Xen-API] GPU passthrough: multiple vGPUs on the same VM

 

Hi Rob,

 thanks for the suggestion on other-config:pci, I just tested it and it worked!

 

Regards,

Andrea

 

On Thu, Jul 11, 2013 at 6:08 PM, Rob Hoes <Rob.Hoes@xxxxxxxxxx> wrote:

Hi Andrea,

 

You are right: the feature is currently restricted to a single GPU per VM. You could try manually passing through the PCI devices of multiple GPUs using âother-config:pciâ.

 

I donât think there are any plans to change this at the moment. Could you explain why passing through multiple GPUs to a single VM would be useful for you?

 

Cheers,
Rob

 

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Andrea Curtoni
Sent: 11 July 2013 4:36 PM
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] GPU passthrough: multiple vGPUs on the same VM

 

Hello,

 it looks like it is currently not possible to attach multiple vGPUs to the same VM. I tried with XenServer 6.2 and suspect the same happens with XCP 1.6.

 

I'm successfully using an NVIDIA card in GPU passthrough from a VM but when I try to attach a second vGPU I get the following error:

 

[root@xenserver ~]# xe vgpu-create vm-uuid=... gpu-group-uuid=...

A device with the name given already exists on the selected VM

device: 0

 

Trying to specify a different device did not help:

 

[root@xenserver ~]# xe vgpu-create vm-uuid=... gpu-group-uuid=... device=1

The device name is invalid

device: 1

 

I think the support for multiple vGPUs on a single VM is not implemented at the moment, I'd like to understand the following:

1) is it possible to workaround this limitation?

2) are there any plans to introduce this support in the future?

 

Thanks in advance,

Andrea



 

--
Andrea Curtoni
NICE srl
andrea.curtoni@xxxxxxxxxxxxxxxxx
http://www.nice-software.com/
www.enginframe.com
TEL: +39 0141 90.15.16
FAX: +39 0141 01.98.29

_______________________________________________
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®.