Show Table of Contents
5.4. Guidelines for configuring NovaPCIPassthrough
Do not use the
devnameparameter when configuring PCI passthrough, as the device name of a NIC can change. Instead, use
product_idbecause they are more stable, or use the
addressof the NIC.
To pass through a specific Physical Function (PF), you can use the
addressparameter because the PCI address is unique to each device. Alternatively, you can use the
product_idparameter to pass through a PF, but you must also specify the
addressof the PF if you have multiple PFs of the same type.
To pass through all the Virtual Functions (VFs) specify only the
vendor_idof the VFs that you want to use for PCI passthrough. You must also specify the
addressof the VF if 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 and
product_idto specify the product ID of the VF.