libvirt/tests/qemuxml2xmloutdata
Laine Stump bf20251048 conf: add new <model> subelement with name attribute to <controller>
This new subelement is used in PCI controllers: the toplevel
*attribute* "model" of a controller denotes what kind of PCI
controller is being described, e.g. a "dmi-to-pci-bridge",
"pci-bridge", or "pci-root". But in the future there will be different
implementations of some of those types of PCI controllers, which
behave similarly from libvirt's point of view (and so should have the
same model), but use a different device in qemu (and present
themselves as a different piece of hardware in the guest). In an ideal
world we (i.e. "I") would have thought of that back when the pci
controllers were added, and used some sort of type/class/model
notation (where class was used in the way we are now using model, and
model was used for the actual manufacturer's model number of a
particular family of PCI controller), but that opportunity is long
past, so as an alternative, this patch allows selecting a particular
implementation of a pci controller with the "name" attribute of the
<model> subelement, e.g.:

  <controller type='pci' model='dmi-to-pci-bridge' index='1'>
    <model name='i82801b11-bridge'/>
  </controller>

In this case, "dmi-to-pci-bridge" is the kind of controller (one that
has a single PCIe port upstream, and 32 standard PCI ports downstream,
which are not hotpluggable), and the qemu device to be used to
implement this kind of controller is named "i82801b11-bridge".

Implementing the above now will allow us in the future to add a new
kind of dmi-to-pci-bridge that doesn't use qemu's i82801b11-bridge
device, but instead uses something else (which doesn't yet exist, but
qemu people have been discussing it), all without breaking existing
configs.

(note that for the existing "pci-bridge" type of PCI controller, both
the model attribute and <model> name are 'pci-bridge'. This is just a
coincidence, since it turns out that in this case the device name in
qemu really is a generic 'pci-bridge' rather than being the name of
some real-world chip)
2015-08-09 21:29:27 -04:00
..
qemuxml2xmlout-balloon-device-auto.xml
qemuxml2xmlout-balloon-device-period.xml conf: Reorder elements inside memballoon 2015-03-17 12:03:33 +01:00
qemuxml2xmlout-bios-nvram-os-interleave.xml tests: Add test for os interleaving 2015-03-09 07:52:34 +01:00
qemuxml2xmlout-boot-menu-disable-with-timeout.xml
qemuxml2xmlout-channel-virtio-auto.xml Allocate virtio-serial addresses when starting a domain 2015-04-02 15:00:13 +02:00
qemuxml2xmlout-channel-virtio-state-active.xml conf: Add channel state for virtio channels to the XML 2014-11-21 11:00:11 +01:00
qemuxml2xmlout-channel-virtio-state-inactive.xml conf: Add channel state for virtio channels to the XML 2014-11-21 11:00:11 +01:00
qemuxml2xmlout-console-compat2.xml Always add 'console' matching the 'serial' device 2015-06-04 10:04:44 +02:00
qemuxml2xmlout-console-compat-auto.xml
qemuxml2xmlout-console-virtio.xml
qemuxml2xmlout-cpu-empty.xml conf: Don't output <cpu> tag if it contains no information. 2015-04-13 09:27:26 +02:00
qemuxml2xmlout-cpu-numa1.xml
qemuxml2xmlout-cpu-numa2.xml
qemuxml2xmlout-cpu-numa-no-memory-element.xml conf: Make specifying <memory> optional 2015-03-16 14:32:20 +01:00
qemuxml2xmlout-cputune-iothreads.xml Move iothreadspin information into iothreadids 2015-04-27 12:36:35 -04:00
qemuxml2xmlout-cputune-iothreadsched.xml docs, schema, conf: Add support for setting scheduler parameters of guest threads 2015-02-11 17:30:06 +01:00
qemuxml2xmlout-default-kvm-host-arch.xml caps: Fix regression defaulting to host arch 2015-05-08 11:11:32 -04:00
qemuxml2xmlout-default-qemu-host-arch.xml caps: Fix regression defaulting to host arch 2015-05-08 11:11:32 -04:00
qemuxml2xmlout-disk-backing-chains-active.xml
qemuxml2xmlout-disk-backing-chains-inactive.xml
qemuxml2xmlout-disk-drive-discard.xml
qemuxml2xmlout-disk-mirror-old-inactive.xml conf: alter disk mirror xml output 2014-06-06 11:48:09 -06:00
qemuxml2xmlout-disk-mirror-old.xml
qemuxml2xmlout-disk-mirror.xml
qemuxml2xmlout-disk-scsi-device-auto.xml
qemuxml2xmlout-disk-source-pool.xml qemu: log error when domain has an unsupported IDE controller 2015-05-15 15:40:43 -04:00
qemuxml2xmlout-graphics-listen-network2.xml video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemuxml2xmlout-graphics-spice-timeout.xml video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemuxml2xmlout-hostdev-scsi-autogen-address.xml
qemuxml2xmlout-memtune-unlimited.xml
qemuxml2xmlout-memtune.xml memtune: change the way how we store unlimited value 2015-03-06 11:52:24 +01:00
qemuxml2xmlout-metadata-duplicate.xml conf: Remove duplicate entries in <metadata> by namespace 2015-03-05 16:24:34 +01:00
qemuxml2xmlout-metadata.xml
qemuxml2xmlout-numad-auto-memory-vcpu-cpuset.xml
qemuxml2xmlout-numad-auto-memory-vcpu-no-cpuset-and-placement.xml
qemuxml2xmlout-numad-auto-vcpu-no-numatune.xml
qemuxml2xmlout-numatune-auto-prefer.xml
qemuxml2xmlout-numatune-memnode.xml conf: numa: Don't duplicate NUMA cell cpumask 2015-02-20 17:43:03 +01:00
qemuxml2xmlout-pci-autoadd-addr.xml video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemuxml2xmlout-pci-autoadd-idx.xml video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemuxml2xmlout-pci-bridge-many-disks.xml disk: Disallow duplicated target 'dev' values 2015-03-02 22:38:36 -05:00
qemuxml2xmlout-pcie-root.xml
qemuxml2xmlout-pcihole64-gib.xml
qemuxml2xmlout-pmu-feature.xml docs, schema, conf: Add support for PMU feature 2015-01-16 13:43:46 +01:00
qemuxml2xmlout-pseries-panic-missing.xml qemu: Automatically add <panic> element for pSeries guests. 2015-06-01 06:44:37 -04:00
qemuxml2xmlout-q35.xml conf: add new <model> subelement with name attribute to <controller> 2015-08-09 21:29:27 -04:00
qemuxml2xmlout-s390-defaultconsole.xml Prevent default creation of usb controller on s390 and s390x 2015-02-23 14:50:15 -05:00
qemuxml2xmlout-seclabel-dynamic-labelskip.xml
qemuxml2xmlout-seclabel-dynamic-none-relabel.xml
qemuxml2xmlout-seclabel-dynamic-relabel.xml
qemuxml2xmlout-seclabel-none.xml
qemuxml2xmlout-serial-target-port-auto.xml
qemuxml2xmlout-tap-vhost-incorrect.xml conf: Ignore multiqueue with one queue. 2015-06-11 14:17:46 +02:00
qemuxml2xmlout-usb-ich9-ehci-addr.xml
qemuxml2xmlout-usb-redir-filter-version.xml Fix usb device version parsing issues 2015-04-13 12:33:41 +02:00
qemuxml2xmlout-usb-redir-filter.xml Do xml->xml test for usb-redir-filter 2015-04-13 12:24:26 +02:00