Merge pull request #31 from cirosantilli/qemu-memory-128

Use -m 128M for qemu-system-x86_64
This commit is contained in:
Ivan Davidov 2016-07-30 20:37:56 +03:00 committed by GitHub
commit a97748a7e7

View File

@ -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-x86_64 -enable-kvm -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-x86_64 -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."
qemu-system-x86_64 -m 64M -cdrom minimal_linux_live.iso -boot d -vga std
$cmd
fi