]> xenbits.xensource.com Git - libvirt.git/commit
conf: new pci controller model pcie-expander-bus
authorLaine Stump <laine@laine.org>
Wed, 16 Mar 2016 17:37:14 +0000 (13:37 -0400)
committerLaine Stump <laine@laine.org>
Thu, 14 Apr 2016 18:00:34 +0000 (14:00 -0400)
commitbc07251f59ecf828c3f9a82c9ef485937fd6c9bb
tree3b284c1e02bacb360a749c513e0ca87aa26b3b79
parent0ec0bc85d0f7ba1847b1bcf066c09957aff1855e
conf: new pci controller model pcie-expander-bus

This controller provides a single PCIe port on a new root. It is
similar to pci-expander-bus, intended to provide a bus that can be
associated with a guest-identifiable NUMA node, but is for
machinetypes with PCIe rather than PCI (e.g. q35-based machinetypes).

Aside from PCIe vs. PCI, the other main difference is that a
pci-expander-bus has a companion pci-bridge that is automatically
attached along with it, but pcie-expander-bus has only a single port,
and that port will only connect to a pcie-root-port, or to a
pcie-switch-upstream-port. In order for the bus to be of any use in
the guest, it must have either a pcie-root-port or a
pcie-switch-upstream-port attached (and one or more
pcie-switch-downstream-ports attached to the
pcie-switch-upstream-port).
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_addr.c
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_domain_address.c
tests/qemuxml2argvdata/qemuxml2argv-pcie-expander-bus.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-pcie-expander-bus.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c