kvmclock, host-model CPU, automatic firmware, no vmport

This commit is contained in:
Lukas Greve
2025-06-21 14:46:35 +02:00
parent 27391ed096
commit 3a1d4708a4

View File

@ -9,23 +9,20 @@
<access mode="shared"/>
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='q35'>hvm</type>
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
<boot dev='cdrom'/>
<os firmware="efi">
<type arch="x86_64" machine="q35">hvm</type>
<loader secure='no'/>
<boot dev="cdrom"/>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode="host-passthrough" check="none" migratable="on">
<cpu mode="host-model">
<topology sockets="1" dies="1" cores="2" threads="2"/>
</cpu>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
<timer name='kvmclock'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>