-
Story
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-9.5
-
None
-
rhel-virt-core-libvirt-1
-
ssg_virtualization
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
-
All
-
None
We want to consume InfiniBand SR-IOV devices from a network pool in the same way Ethernet devices are consumed, for example:
<network> <name>infiniband-sriov</name> <uuid>1a3e28fa-97ea-43d4-a82b-5923fa1a2a4f</uuid> <forward mode='hostdev' managed='yes'> <address type='pci' domain='0x0000' bus='0xc1' slot='0x00' function='0x1'/> <address type='pci' domain='0x0000' bus='0xc1' slot='0x00' function='0x2'/> <address type='pci' domain='0x0000' bus='0xc1' slot='0x00' function='0x3'/> <address type='pci' domain='0x0000' bus='0xc1' slot='0x00' function='0x4'/> <address type='pci' domain='0x0000' bus='0xc1' slot='0x00' function='0x5'/> <address type='pci' domain='0x0000' bus='0xc1' slot='0x00' function='0x6'/> <address type='pci' domain='0x0000' bus='0xc1' slot='0x00' function='0x7'/> <address type='pci' domain='0x0000' bus='0xc1' slot='0x01' function='0x0'/> </forward> </network>
Then consume a device from the domain XML definition with:
<interface type='network'> <source network='infiniband-sriov'/> </interface>
This currently doesn't work because it always tries to set an ethernet MAC address instead of an InfiniBand address:
error: Failed to start domain 'rhel9' error: Cannot set interface MAC to aa:bb:cc:dd:ee:ff for ifname ibp193s0 vf 0: Operation not supported