Multiple devices in pci_passthrough:alias

asked 2016-10-04 15:56:33 -0600

kvasko gravatar image

I'm trying to pass two different PCI devices to a single VM (e.g. a TitanX GPU and a M4000). I can get a single GPU to be assigned correctly (e.g. the TitanX OR the M4000), however I cannot get both assigned to the same VM. I don't know how to setup the flavor metadata information to tell OS to pass both GPUs to the VM.

In my flavor I have


But also need to add


If I try to add another pci_passthrough:alias I get "Duplicate keys are not allowed"

Is there a another way of dealing with this? It is stupid but yes, we have several boxes that have both GPUs in them.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2020-06-04 23:56:45 -0600

SCN gravatar image

This should work in the flavor set pci_passthrough:alias="m4000:1,titanx:1"

edit flag offensive delete link more

answered 2017-03-23 08:05:36 -0600

rbkpro gravatar image

Hello, Please if you found an answer, could you share it with us Thank you

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-10-04 15:56:33 -0600

Seen: 404 times

Last updated: Mar 23 '17