]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn: Disable hpet for vmspawn x86 virtual machines
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Thu, 3 Jul 2025 08:37:25 +0000 (10:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 10 Jul 2025 14:14:52 +0000 (16:14 +0200)
commit8ba6c2b7f51ca7cdb0031e10dca8ab6bd06071a1
treec39109fea4418c1b6d371dc37772d88ee0cd0f09
parent0b565facc4c2ee410965405131009481646a0f2c
vmspawn: Disable hpet for vmspawn x86 virtual machines

hpet is an emulated clocksource that is generally discouraged in favor
of kvm-clock or tsc for virtual machines. While vmspawn'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.
src/vmspawn/vmspawn-util.h
src/vmspawn/vmspawn.c