From 58a6714840d1fb8e5c45bbfb093dd61d6d540c28 Mon Sep 17 00:00:00 2001 From: xel-arjona Date: Wed, 5 Aug 2026 12:31:49 -0600 Subject: [PATCH] windows: avoid HPET machine property on ARM64 guests Signed-off-by: xel-arjona --- quickemu | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/quickemu b/quickemu index 9b65359..0121043 100755 --- a/quickemu +++ b/quickemu @@ -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