pci_passthrough alias and flavor setting for a GPU
We have a single GPU device detected as two devices into the compute host as below: $ lspci -nn | grep "83:00." 83:00.0 Processing accelerators [1200]: Xilinx Corporation Device [10ee:5020] 83:00.1 Processing accelerators [1200]: Xilinx Corporation Device [10ee:5021]
We have to passthrough this device in rocky. We have set the PCI alias in the controller host as below: [pci] alias = { "vendor_id":"10ee", "product_id":"5020", "device_type":"type-PCI", "name":"Xilinx5020" } alias = { "vendor_id":"10ee", "product_id":"5021", "device_type":"type-PCI", "name":"Xilinx5021" }
but openstack does not allow setting flavor with two PCI aliases as show below: | 1b2a1111-111e-11df-1122-8f71111fb3d6 | pciflavor | 16384 | 100 | 0 | 4 | True | | 1.0 | pci_passthrough:alias='Xilinx5020:1,Xilinx5021:1',
Is there a way to add this device as single pci alias for such device or a way to add multiple pci_passthrough aliases in a better way inside a flavor ?
Thanks!