windows: avoid HPET machine property on ARM64 guests
Signed-off-by: xel-arjona <shell_ramix@hotmail.com>
This commit is contained in:
parent
82df57dadf
commit
58a6714840
12
quickemu
12
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue