[crosutils] bump default size of VM disk to allow for bigger stateful partition

BUG=8544
TEST=create an VM image with image_to_vm.sh; the stateful partition should be 2GB in size.

Change-Id: I6c0ee9e2cb513e42c25e4f0d1616835a41f378d7

Review URL: http://codereview.chromium.org/4737001
This commit is contained in:
Chris Masone 2010-11-09 08:24:13 -08:00
parent 4800e04fe8
commit 7d04c7aacb

View File

@ -37,7 +37,7 @@ DEFINE_integer rootfs_partition_size 1024 \
"rootfs parition size in MBs." "rootfs parition size in MBs."
DEFINE_string state_image "" \ DEFINE_string state_image "" \
"Stateful partition image (defaults to creating new statful partition)" "Stateful partition image (defaults to creating new statful partition)"
DEFINE_integer statefulfs_size -1 \ DEFINE_integer statefulfs_size 2048 \
"Stateful partition size in MBs." "Stateful partition size in MBs."
DEFINE_boolean test_image "${FLAGS_FALSE}" \ DEFINE_boolean test_image "${FLAGS_FALSE}" \
"Copies normal image to chromiumos_test_image.bin, modifies it for test." "Copies normal image to chromiumos_test_image.bin, modifies it for test."
@ -285,6 +285,6 @@ fi
if [ "${FLAGS_format}" == "qemu" ]; then if [ "${FLAGS_format}" == "qemu" ]; then
echo "If you have qemu-kvm installed, you can start the image by:" echo "If you have qemu-kvm installed, you can start the image by:"
echo "sudo kvm -m ${FLAGS_mem} -vga std -pidfile /tmp/kvm.pid -net nic,model=e1000 " \ echo "sudo kvm -m ${FLAGS_mem} -vga std -pidfile /tmp/kvm.pid -net nic,model=e1000 " \
"-net user,hostfwd=tcp::922-:22 \\" "-net user,hostfwd=tcp::9222-:22 \\"
echo " -hda ${FLAGS_to}/${DEFAULT_QEMU_IMAGE}" echo " -hda ${FLAGS_to}/${DEFAULT_QEMU_IMAGE}"
fi fi