From d9e9aa53111ca62b514b64043b1c72527e3721b8 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Sat, 30 Jul 2016 20:42:50 +0300 Subject: [PATCH] Updated the helper QEMU scripts to use more RAM. This needs further investigation since 64MB should be enough. --- src/qemu32.sh | 9 +++++---- src/qemu64.sh | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/qemu32.sh b/src/qemu32.sh index ab047f451..aa3847569 100755 --- a/src/qemu32.sh +++ b/src/qemu32.sh @@ -7,11 +7,12 @@ # have hard disk image, you can use it as overlay device and persist all your # changes. See the '.config' file for more information on the overlay support. +cmd="qemu-system-i386 -m 128M -cdrom minimal_linux_live.iso -boot d -vga std" + if [ "$1" = "-hdd" -o "$1" = "-h" ] ; then echo "Starting QEMU with attached ISO image and hard disk." - qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -hda hdd.img -boot d -vga std + $cmd -hda hdd.img else - echo "Starting QEMU with attached ISO image and no hard disk." - qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -boot d -vga std + echo "Starting QEMU with attached ISO image." + $cmd fi - diff --git a/src/qemu64.sh b/src/qemu64.sh index a62c29071..7ebe2d370 100755 --- a/src/qemu64.sh +++ b/src/qemu64.sh @@ -7,7 +7,8 @@ # have hard disk image, you can use it as overlay device and persist all your # changes. See the '.config' file for more information on the overlay support. -cmd="qemu-system-x86_64 -enable-kvm -m 128M -cdrom minimal_linux_live.iso -boot d -vga std" +cmd="qemu-system-x86_64 -m 128M -cdrom minimal_linux_live.iso -boot d -vga std" + if [ "$1" = "-hdd" -o "$1" = "-h" ] ; then echo "Starting QEMU with attached ISO image and hard disk." $cmd -hda hdd.img