1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00
libvirt/tests/qemuxml2argvdata/qemuxml2argv-pseries-many-devices.xml
Andrea Bolognani ca1c362a30 tests: Add baseline tests for automatic PHB usage
These tests demonstrate that, while it's now possible for the
user to create PHB explicitly and manually assign devices to
them, libvirt still defaults to extending the guest PCI
topology using PCI bridges and making suboptimal device
placement choices.

The next few commits will improve on these behaviors and the
tests outputs will automatically be updated to reflect this.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
2017-07-15 14:50:42 +02:00

49 lines
2.1 KiB
XML

<domain type='qemu'>
<name>guest</name>
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
<memory unit='KiB'>524288</memory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='ppc64' machine='pseries'>hvm</type>
</os>
<devices>
<emulator>/usr/bin/qemu-system-ppc64</emulator>
<!-- pci-root has 31 slots and there are 32 SCSI controllers here, so
libvirt will automatically add at least one more PCI controller -->
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='scsi' model='virtio-scsi'/>
<controller type='usb' model='none'/>
<memballoon model='none'/>
</devices>
</domain>