Permalink
Browse files

initramfs has more commands than before, so the kernel needs more ram

  • Loading branch information...
1 parent 73357e1 commit 6250332740a7c0f4977e4586205e4fa31c11cd17 @geirha committed Sep 16, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 runqemu
  2. +1 −1 savestate
View
@@ -1,5 +1,5 @@
#!/bin/bash
-exec kvm -hda hda -net none -m 32 -nographic -loadvm "$1" -no-kvm 2>&1 <<< "\
+exec kvm -hda hda -net none -m 64 -nographic -loadvm "$1" -no-kvm 2>&1 <<< "\
$RANDOM
$(date -u +%s)
$2"
View
@@ -5,7 +5,7 @@ state=$2
mkfifo fifo # &> /dev/null
[[ -r fifo && -w fifo && -p fifo ]] || { echo "fifo fail"; exit 1; }
-< fifo kvm -kernel bzImage -append "-- $state" -initrd initramfs.cpio.gz -hda "$image" -net none -m 32 -nographic -no-kvm |
+< fifo kvm -kernel bzImage -append "-- $state" -initrd initramfs.cpio.gz -hda "$image" -net none -m 64 -nographic -no-kvm |
while read -r f
do
printf '%s\n' "$f" >&2

0 comments on commit 6250332

Please sign in to comment.