libvirt/tests/qemuxmlconfdata/x86_64-pc-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
570 B
XML

<domain type='qemu'>
<name>guest</name>
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
<memory>4194304</memory>
<vcpu>4</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
</os>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</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'/>
<panic/>
</devices>
</domain>