mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
This test shows what happens when you add a traditional PCI device such as pci-serial to a pure PCIe machine type such as aarch64/virt. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
20 lines
594 B
XML
20 lines
594 B
XML
<domain type="qemu">
|
|
<name>guest</name>
|
|
<uuid>496d7ea8-9739-544b-4ebd-ef08be936e8b</uuid>
|
|
<memory>1048576</memory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch="aarch64" machine="virt">hvm</type>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
|
<controller type='pci' model='pcie-root'/>
|
|
<!-- pci-serial is a traditional PCI device, and will cause a
|
|
traditional PCI topology to be created for the guest -->
|
|
<serial type='pty'>
|
|
<target type='pci-serial'/>
|
|
</serial>
|
|
<memballoon model='none'/>
|
|
</devices>
|
|
</domain>
|