From 9a3dbec7d4eeb1bcc833bac408178868b9126ff2 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 16 Mar 2016 13:33:36 +0000 Subject: [PATCH] Only use qemu -no-hpet option on x86. --- run-supernested.sh.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/run-supernested.sh.in b/run-supernested.sh.in index 445f960..d021a50 100644 --- a/run-supernested.sh.in +++ b/run-supernested.sh.in @@ -146,6 +146,14 @@ else extra_args="$extra_args -cpu host -machine accel=kvm" fi +case "$arch" in + i[3456]86|x86_64) + extra_args="$extra_args -no-hpet" + ;; + *) + ;; +esac + echo "Running" echo " qemu = $qemu" echo " extra_args = $extra_args" @@ -165,7 +173,6 @@ exec \ -m $memory \ -no-reboot \ -rtc driftfix=slew \ - -no-hpet \ -global kvm-pit.lost_tick_policy=discard \ -kernel "$kernel" \ -initrd "$initrd" \ -- 1.8.3.1