libvirt/docs/schemas
Laine Stump 62ac6b4354 qemu: add dmi-to-pci-bridge controller
This PCI controller, named "dmi-to-pci-bridge" in the libvirt config,
and implemented with qemu's "i82801b11-bridge" device, connects to a
PCI Express slot (e.g. one of the slots provided by the pcie-root
controller, aka "pcie.0" on the qemu commandline), and provides 31
*non-hot-pluggable* PCI (*not* PCIe) slots, numbered 1-31.

Any time a machine is defined which has a pcie-root controller
(i.e. any q35-based machinetype), libvirt will automatically add a
dmi-to-pci-bridge controller if one doesn't exist, and also add a
pci-bridge controller. The reasoning here is that any useful domain
will have either an immediate (startup time) or eventual (subsequent
hot-plug) need for a standard PCI slot; since the pcie-root controller
only provides PCIe slots, we need to connect a dmi-to-pci-bridge
controller to it in order to get a non-hot-plug PCI slot that we can
then use to connect a pci-bridge - the slots provided by the
pci-bridge will be both standard PCI and hot-pluggable.

Since pci-bridge devices themselves can not be hot-plugged into a
running system (although you can hot-plug other devices into a
pci-bridge's slots), any new pci-bridge controller that is added can
(and will) be plugged into the dmi-to-pci-bridge as long as it has
empty slots available.

This patch is also changing the qemuxml2xml-pcie test from a "DO_TEST"
to a "DO_DIFFERENT_TEST". This is so that the "before" xml can omit
the automatically added dmi-to-pci-bridge and pci-bridge devices, and
the "after" xml can include it - this way we are testing if libvirt is
properly adding these devices.
2013-08-05 15:40:49 -04:00
..
basictypes.rng qemu: Allow the disk wwn to have "0x" prefix 2013-04-17 23:05:56 +08:00
capability.rng qemu: Implement CPUs check against machine type's cpu-max 2013-07-01 14:30:42 +02:00
domain.rng
domaincommon.rng qemu: add dmi-to-pci-bridge controller 2013-08-05 15:40:49 -04:00
domainsnapshot.rng Add support for storage format in FS <driver> 2013-05-13 13:15:19 +01:00
interface.rng
Makefile.am conf: add features to volume target XML 2013-06-21 13:25:30 +02:00
network.rng Support for static routes on a virtual bridge 2013-05-13 16:14:40 -04:00
networkcommon.rng Configure native vlan modes on Open vSwitch ports 2013-06-25 00:22:36 -04:00
nodedev.rng nodedev: add iommuGroup to node device object 2013-06-26 14:10:56 -04:00
nwfilter.rng Correct invalid RNG schemas 2013-03-21 17:24:08 +01:00
secret.rng secret: add iscsi to possible usage types 2013-03-22 12:10:23 +08:00
storageencryption.rng rng: Have colorful *.rng with editor 2013-01-23 23:03:17 +08:00
storagefilefeatures.rng conf: add features to volume target XML 2013-06-21 13:25:30 +02:00
storagepool.rng Make logical pools independent on target path 2013-07-16 12:16:37 +02:00
storagevol.rng conf: add features to volume target XML 2013-06-21 13:25:30 +02:00