git.annexia.org
/
supernested.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compress the qcow2 file.
[supernested.git]
/
run-supernested.sh.in
diff --git
a/run-supernested.sh.in
b/run-supernested.sh.in
index
445f960
..
ea227f0
100644
(file)
--- 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
extra_args="$extra_args -cpu host -machine accel=kvm"
fi
+case "$arch" in
+ i[3456]86|x86_64)
+ extra_args="$extra_args -no-hpet -device sga"
+ ;;
+ *)
+ ;;
+esac
+
echo "Running"
echo " qemu = $qemu"
echo " extra_args = $extra_args"
echo "Running"
echo " qemu = $qemu"
echo " extra_args = $extra_args"
@@
-165,7
+173,6
@@
exec \
-m $memory \
-no-reboot \
-rtc driftfix=slew \
-m $memory \
-no-reboot \
-rtc driftfix=slew \
- -no-hpet \
-global kvm-pit.lost_tick_policy=discard \
-kernel "$kernel" \
-initrd "$initrd" \
-global kvm-pit.lost_tick_policy=discard \
-kernel "$kernel" \
-initrd "$initrd" \
@@
-174,5
+181,4
@@
exec \
-device scsi-hd,drive=hd0 \
-device virtio-serial-pci \
-serial stdio \
-device scsi-hd,drive=hd0 \
-device virtio-serial-pci \
-serial stdio \
- -device sga \
-append "$append"
-append "$append"