Revision history [back]

click to hide/show revision 1
initial version

Multiple devices in pci_passthrough:alias

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.