mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
f91e53c63e
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>
25 lines
615 B
XML
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='riscv64' machine='virt'>hvm</type>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-riscv64</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 riscv64 -->
|
|
</devices>
|
|
</domain>
|