Multiple devices in pci_passthrough:alias

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

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

pci_passthrough:alias=m4000:1

But also need to add

pci_passthrough:alias=titanx:1

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
0

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

SCN gravatar image

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

edit flag offensive delete link more
0

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

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

2 followers

Stats

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

Seen: 391 times

Last updated: Mar 23 '17