Comment 2 for bug 1832169

Revision history for this message
sean mooney (sean-k-mooney) wrote :

i should also note that some dirver like hyperv only use
type-pci
https://opendev.org/openstack/nova/src/branch/master/nova/virt/hyperv/hostops.py#L192-L215

class PciDeviceType(BaseNovaEnum):

    # NOTE(jaypipes): It's silly that the word "type-" is in these constants,
    # but alas, these were the original constant strings used...
    STANDARD = "type-PCI"
    SRIOV_PF = "type-PF"
    SRIOV_VF = "type-VF"

    ALL = (STANDARD, SRIOV_PF, SRIOV_VF)

https://opendev.org/openstack/nova/src/branch/master/nova/objects/fields.py#L681-L689