Ask Your Question

Openstack support multiple GPU passthrough per vm with KVM

asked 2016-01-16 11:44:08 -0600

kvasko gravatar image

As the question states. From my understanding KVM and Openstack both support PCI Passthrough. However, we have a compute node that will have multiple GPUs (8 GPUS in a single machine (same CPU bus)). Will openstack allow me to add this node as a compute node and assign VMs with multiple GPUs? In my case as an example, we will have 8GPUs on a single node. Can I create a VM1 with openstack/KVM and assign 4 GPUs to, make another VM2 with GPUs and then VM3 with 1GPU and then VM4 with 1GPU? Or any combination of that?

From my understanding KVM supports it on the that side of the question. (

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-24 14:50:27 -0600

jproulx gravatar image

I'm just starting to try and catch up with the current state of GPU support in openstack (which is how I found your question) and have not tested this yet as my GPUs are not in my OpenStack , but...

gives an example of defining a flavor that requires multiples of the same type PCI device, so I think we can do this...

edit flag offensive delete link more


Thanks for the response. Yeah, actually I just started setting this stuff and it is currently crashing the OS haha. Trying to work out a few kinks but I'm hopeful.

kvasko gravatar imagekvasko ( 2016-03-24 19:35:48 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-16 11:35:02 -0600

Seen: 1,619 times

Last updated: Mar 24 '16