6.4. Guidelines for configuring NovaPCIPassthrough
-
Do not use the
devnameparameter when configuring PCI passthrough, as the device name of a NIC can change. Instead, usevendor_idandproduct_idbecause they are more stable, or use theaddressof the NIC. -
To use the
product_idparameter to pass through a Physical Function (PF), you must also specify theaddressof the PF. However, you can use just theaddressparameter to specify PFs, because the address is unique on each host. -
To pass through all the Virtual Functions (VFs) you must specify only the
product_idandvendor_id. You must also specify theaddressif you are using SRIOV for NIC partitioning and you are running OVS on a VF. -
To pass through only the VFs for a PF but not the PF itself, you can use the
addressparameter to specify the PCI address of the PF andproduct_idto specify the product ID of the VF.