Only use qemu -no-hpet option on x86.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 16 Mar 2016 13:33:36 +0000 (13:33 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 16 Mar 2016 13:42:57 +0000 (13:42 +0000)
run-supernested.sh.in

index 445f960..d021a50 100644 (file)
@@ -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" \