SR-IOV
Cheat sheet · https://pcornel.dk/topic.php?topic=3551
Answer
SR-IOV lets one physical PCIe device, usually a NIC, present many lightweight virtual functions that can be assigned to VMs directly, giving near-native networking to many VMs without dedicating a whole card to each.
Remember
- NIC, firmware, BIOS and driver must all support SR-IOV.
- VFs bypass the vSwitch.
- Migration is limited.
First checks
lspci | grep -i 'virtual function'— VFs presentcat /sys/class/net/<pf>/device/sriov_numvfs— VF countGet-NetAdapterSriov— Windows SR-IOV
Verify in this order
PF → VFs → assigned to VMs
Where it usually breaks
First mismatch in host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3551