libvirt/tests/qemuxml2argvdata/tpm-emulator-spapr.xml

71 lines
2.2 KiB
XML

<domain type='qemu'>
<name>TPM-VM</name>
<uuid>11d7cd22-da89-3094-6212-079a48a309a1</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>512288</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='ppc64' machine='pseries-5.0'>hvm</type>
<boot dev='hd'/>
<bootmenu enable='yes'/>
</os>
<features>
<acpi/>
</features>
<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>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/tmp/scsidisk.img'/>
<target dev='sda' bus='scsi'/>
<address type='drive' controller='1' bus='0' target='0' unit='0'/>
</disk>
<controller type='scsi' index='0' model='ibmvscsi'>
<address type='spapr-vio' reg='0x00002000'/>
</controller>
<controller type='scsi' index='1' model='ibmvscsi'>
<address type='spapr-vio' reg='0x00003000'/>
</controller>
<controller type='usb' index='0' model='pci-ohci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<model name='spapr-pci-host-bridge'/>
<target index='0'/>
</controller>
<serial type='pty'>
<target type='spapr-vio-serial' port='0'>
<model name='spapr-vty'/>
</target>
<address type='spapr-vio' reg='0x30000000'/>
</serial>
<serial type='pty'>
<target type='spapr-vio-serial' port='1'>
<model name='spapr-vty'/>
</target>
<address type='spapr-vio' reg='0x30001000'/>
</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='0x00005000'/>
</tpm>
<audio id='1' type='none'/>
<memballoon model='none'/>
<nvram>
<address type='spapr-vio' reg='0x00004000'/>
</nvram>
<panic model='pseries'/>
</devices>
</domain>