windows: avoid HPET machine property on ARM64 guests

Signed-off-by: xel-arjona <shell_ramix@hotmail.com>
This commit is contained in:
xel-arjona 2026-08-05 12:31:49 -06:00
parent 82df57dadf
commit 58a6714840
1 changed files with 8 additions and 4 deletions

View File

@ -726,10 +726,14 @@ function configure_cpu() {
GUEST_TWEAKS+=" -global ICH9-LPC.disable_s3=1"
# Disable High Precision Timer
if [ "${QEMU_VER_SHORT}" -ge 70 ]; then
MACHINE_TYPE+=",hpet=off"
else
GUEST_TWEAKS+=" -no-hpet"
# ARM64 "virt" machines do not implement this property
# as HPET is only available on PC (x86/x86_64) machine types.
if [ "${ARCH_VM}" == "x86_64" ]; then
if [ "${QEMU_VER_SHORT}" -ge 70 ]; then
MACHINE_TYPE+=",hpet=off"
else
GUEST_TWEAKS+=" -no-hpet"
fi
fi
;;
esac