From: Richard W.M. Jones Date: Wed, 16 Mar 2016 13:33:36 +0000 (+0000) Subject: Only use qemu -no-hpet option on x86. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=9a3dbec7d4eeb1bcc833bac408178868b9126ff2;p=supernested.git Only use qemu -no-hpet option on x86. --- 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" \