• L
    conf: aggregate multiple devices on a slot when assigning PCI addresses · 48d39cf9
    Laine Stump 提交于
    If a PCI device has VIR_PCI_CONNECT_AGGREGATE_SLOT set in its
    pciConnectFlags, then during address assignment we allow multiple
    instances of this type of device to be auto-assigned to multiple
    functions on the same device. A slot is used for aggregating multiple
    devices only if the first device assigned to that slot had
    VIR_PCI_CONNECT_AGGREGATE_SLOT set. but any device types that have
    AGGREGATE_SLOT set might be mix/matched on the same slot.
    
    (NB: libvirt should never set the AGGREGATE_SLOT flag for a device
    type that might need to be hotplugged. Currently it is only planned
    for pcie-root-port and possibly other PCI controller types, and none
    of those are hotpluggable anyway)
    
    There aren't yet any devices that use this flag. That will be in a
    later patch.
    48d39cf9
qemu_domain_address.c 88.8 KB