]> git.ipfire.org Git - thirdparty/mkosi.git/commit
qemu: Disable hpet for x86 VMs
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Thu, 17 Jul 2025 09:09:28 +0000 (11:09 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 17 Jul 2025 10:07:58 +0000 (12:07 +0200)
commit0381b17819d9f2ece6ce97820b647c4b85d50cfb
treeb036d536a9b41a632d246d83b168190ce6ba93d6
parent4f63700eb3a5cc17aee2742e14e30cdf771ff753
qemu: Disable hpet for x86 VMs

hpet is an emulated clocksource that is generally discouraged in favor
of kvm-clock or tsc for virtual machines. While mkosi's virtual machines
already use kvm-clock, leaving hpet enabled causes qemu on the host to
consume a non-trivial amount of cpu, so let's disable the hpet feature since
we're not making use of it anyway.
mkosi/config.py
mkosi/qemu.py