mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +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>
58 lines
1.9 KiB
XML
58 lines
1.9 KiB
XML
<domain type='qemu'>
|
|
<name>guest</name>
|
|
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
|
|
<memory unit='KiB'>4194304</memory>
|
|
<currentMemory unit='KiB'>4194304</currentMemory>
|
|
<vcpu placement='static'>4</vcpu>
|
|
<os>
|
|
<type arch='ppc64' machine='pseries'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<cpu mode='custom' match='exact' check='none'>
|
|
<model fallback='forbid'>POWER9</model>
|
|
</cpu>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-ppc64</emulator>
|
|
<controller type='usb' index='0' model='qemu-xhci'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
</controller>
|
|
<controller type='scsi' index='0' model='ibmvscsi'>
|
|
<address type='spapr-vio' reg='0x00002000'/>
|
|
</controller>
|
|
<controller type='pci' index='0' model='pci-root'>
|
|
<model name='spapr-pci-host-bridge'/>
|
|
<target index='0'/>
|
|
</controller>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:09:a4:37'/>
|
|
<model type='rtl8139'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
|
</interface>
|
|
<serial type='pty'>
|
|
<target type='spapr-vio-serial' port='0'>
|
|
<model name='spapr-vty'/>
|
|
</target>
|
|
<address type='spapr-vio' reg='0x30000000'/>
|
|
</serial>
|
|
<console type='pty'>
|
|
<target type='serial' port='0'/>
|
|
<address type='spapr-vio' reg='0x30000000'/>
|
|
</console>
|
|
<tpm model='tpm-spapr'>
|
|
<backend type='emulator' version='2.0'/>
|
|
<address type='spapr-vio' reg='0x00004000'/>
|
|
</tpm>
|
|
<audio id='1' type='none'/>
|
|
<video>
|
|
<model type='vga' vram='16384' heads='1' primary='yes'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
</video>
|
|
<memballoon model='none'/>
|
|
<panic model='pseries'/>
|
|
</devices>
|
|
</domain>
|