6.4. Guidelines for configuring NovaPCIPassthrough
-
Do not use the
devname
parameter when configuring PCI passthrough, as the device name of a NIC can change. Instead, usevendor_id
andproduct_id
because they are more stable, or use theaddress
of the NIC. -
To use the
product_id
parameter to pass through a Physical Function (PF), you must also specify theaddress
of the PF. However, you can use just theaddress
parameter 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_id
andvendor_id
. You must also specify theaddress
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
address
parameter to specify the PCI address of the PF andproduct_id
to specify the product ID of the VF.