diff --git a/runqemu b/runqemu index de6fc78..b461d5b 100755 --- a/runqemu +++ b/runqemu @@ -1,5 +1,5 @@ #!/usr/bin/env bash -exec qemu-system-x86_64 -monitor null -hda hda -net none -m 64 -nographic -loadvm 1 2>/dev/null << EOF +exec qemu-system-x86_64 -monitor null -hda hda -net none -m 72 -nographic -loadvm 1 2>/dev/null << EOF $1 $(date -u +%s) $2 diff --git a/savestate b/savestate index add4536..c74d2e4 100755 --- a/savestate +++ b/savestate @@ -4,7 +4,7 @@ image="$1" mkfifo fifo # &> /dev/null [[ -r fifo && -w fifo && -p fifo ]] || { echo "fifo fail"; exit 1; } -< fifo qemu-system-x86_64 -kernel shbot-kernel -initrd shbot.cpio.gz -hda "$image" -net none -m 64 -nographic -append irc | +< fifo qemu-system-x86_64 -kernel shbot-kernel -initrd shbot.cpio.gz -hda "$image" -net none -m 72 -nographic -append irc | while read -r f do printf '%s\n' "$f" >&2