change cpu mode, add kvmclock

This commit is contained in:
Lukas Greve
2025-06-08 11:55:25 +02:00
parent 828338cd41
commit 5ee048e1dc

View File

@ -9,22 +9,19 @@
</memoryBacking>
<vcpu placement='static'>4</vcpu>
<os firmware="efi">
<type arch="x86_64" machine="pc-q35-10.0">hvm</type>
<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' tickpolicy='catchup'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>