kvmclock, host-model CPU, automatic firmware, suspend to mem and disk
This commit is contained in:
@ -5,30 +5,31 @@
|
|||||||
<memory unit="KiB">4194304</memory>
|
<memory unit="KiB">4194304</memory>
|
||||||
<currentMemory unit="KiB">1048576</currentMemory>
|
<currentMemory unit="KiB">1048576</currentMemory>
|
||||||
<vcpu placement='static'>4</vcpu>
|
<vcpu placement='static'>4</vcpu>
|
||||||
<os>
|
<memoryBacking>
|
||||||
<type arch='x86_64' machine='q35'>hvm</type>
|
<source type="memfd"/>
|
||||||
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
<access mode="shared"/>
|
||||||
<boot dev='cdrom'/>
|
</memoryBacking>
|
||||||
|
<os firmware="efi">
|
||||||
|
<type arch="x86_64" machine="q35">hvm</type>
|
||||||
|
<loader secure='no'/>
|
||||||
|
<boot dev="cdrom"/>
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<vmport state='off'/>
|
|
||||||
</features>
|
</features>
|
||||||
<cpu mode="host-passthrough" check="none" migratable="on">
|
<cpu mode="host-model">
|
||||||
<topology sockets="1" dies="1" cores="2" threads="2"/>
|
<topology sockets="1" dies="1" cores="2" threads="2"/>
|
||||||
</cpu>
|
</cpu>
|
||||||
<clock offset='utc'>
|
<clock offset='utc'>
|
||||||
<timer name='rtc' tickpolicy='catchup'/>
|
<timer name='kvmclock'/>
|
||||||
<timer name='pit' tickpolicy='delay'/>
|
|
||||||
<timer name='hpet' present='no'/>
|
|
||||||
</clock>
|
</clock>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<pm>
|
<pm>
|
||||||
<suspend-to-mem enabled='no'/>
|
<suspend-to-mem enabled='yes'/>
|
||||||
<suspend-to-disk enabled='no'/>
|
<suspend-to-disk enabled='yes'/>
|
||||||
</pm>
|
</pm>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
Reference in New Issue
Block a user