libvirt/tests/qemuxmlconfdata/aarch64-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
615 B
XML

<domain type='qemu'>
<name>guest</name>
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
<memory>4194304</memory>
<vcpu>4</vcpu>
<os>
<type arch='aarch64' machine='virt'>hvm</type>
</os>
<devices>
<emulator>/usr/bin/qemu-system-aarch64</emulator>
<controller type='usb'/>
<controller type='scsi'/>
<interface type='user'>
<mac address='52:54:00:09:a4:37'/>
</interface>
<serial type='pty'/>
<tpm>
<backend type='emulator'/>
</tpm>
<video/>
<memballoon model='none'/>
<!-- No default model for <panic/> on aarch64 -->
</devices>
</domain>