diff options
-rwxr-xr-x | src/qemu.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qemu.sh b/src/qemu.sh index 2033f0e..b6c0a19 100755 --- a/src/qemu.sh +++ b/src/qemu.sh | |||
@@ -60,6 +60,10 @@ case $(arch) in | |||
60 | *) qemu=qemu-system-i386 ;; | 60 | *) qemu=qemu-system-i386 ;; |
61 | esac | 61 | esac |
62 | 62 | ||
63 | if [ ! -e "$disk" ]; then | ||
64 | fallocate -l 10GB "$disk" | ||
65 | fi | ||
66 | |||
63 | set -x | 67 | set -x |
64 | sudo ${qemu} -enable-kvm -smp 2 -m 640 -k en-us \ | 68 | sudo ${qemu} -enable-kvm -smp 2 -m 640 -k en-us \ |
65 | -vga qxl \ | 69 | -vga qxl \ |