• L
    conf: new pci controller model pci-expander-bus · 52f3d0a4
    Laine Stump 提交于
    This is a standard PCI root bus (not a bridge) that can be added to a
    440fx-based domain. Although it uses a PCI slot, this is *not* how it
    is connected into the PCI bus hierarchy, but is only used for
    control. Each pci-expander-bus provides 32 slots (0-31) that can
    accept hotplug of standard PCI devices.
    
    The usefulness of pci-expander-bus relative to a pci-bridge is that
    the NUMA node of the bus can be specified with the <node> subelement
    of <target>. This gives guest-side visibility to the NUMA node of
    attached devices (presuming that management apps only assign a device
    to a bus that has a NUMA node number matching the node number of the
    device on the host).
    
    Each pci-expander-bus also has a "busNr" attribute. The expander-bus
    itself will take the busNr specified, and all buses that are connected
    to this bus (including the pci-bridge that is automatically added to
    any expander bus of model "pxb" (see the next commit)) will use
    busNr+1, busNr+2, etc, and the pci-root (or the expander-bus with next
    lower busNr) will use bus numbers lower than busNr.
    52f3d0a4
qemuxml2xmltest.c 26.7 KB