libvirt/tests/qemuxmlconfdata/loongarch64-virt-default-models.xml
Andrea Bolognani f91e53c63e tests: Add TPM coverage to default-models tests
We have a non-trivial amount of architecture-specific logic
dealing with TPM, so it's good to have coverage for it.

Note that two architectures currently don't have support for
TPM devices enabled by default in QEMU: loongarch64 and s390x.
The situation might change for the former, but that's unlikely
to happen for the latter.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2024-06-07 11:12:59 +02:00

25 lines
774 B
XML

<domain type='qemu'>
<name>guest</name>
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
<memory>4194304</memory>
<vcpu>4</vcpu>
<os>
<type arch='loongarch64' machine='virt'>hvm</type>
</os>
<devices>
<emulator>/usr/bin/qemu-system-loongarch64</emulator>
<controller type='usb'/>
<controller type='scsi'/>
<interface type='user'>
<mac address='52:54:00:09:a4:37'/>
</interface>
<serial type='pty'/>
<!-- loongarch64 could probably use TPM but the necessary devices
are currently disabled in the default QEMU configuration for the
architecture. If that ever changes, add coverage here -->
<video/>
<memballoon model='none'/>
<!-- No default model for <panic/> on loongarch64 -->
</devices>
</domain>