summaryrefslogtreecommitdiff
path: root/src/qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/qemu.sh')
-rwxr-xr-xsrc/qemu.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qemu.sh b/src/qemu.sh
index b6c0a19..8f365cb 100755
--- a/src/qemu.sh
+++ b/src/qemu.sh
@@ -14,7 +14,7 @@ initrd.sh || { echo "initrd.sh failed" >&2; exit 1; };
14 14
15[ "$NO_NET" ] || USE_NET=y 15[ "$NO_NET" ] || USE_NET=y
16 16
17NET='tap,vlan=0,ifname=tap0,script=no,downscript=no' 17NET='tap,ifname=tap0,script=no,downscript=no'
18 18
19[ "$SLOW_BOOT" ] || QEMU_LOADS_LINUX=y 19[ "$SLOW_BOOT" ] || QEMU_LOADS_LINUX=y
20 20
@@ -67,7 +67,7 @@ fi
67set -x 67set -x
68sudo ${qemu} -enable-kvm -smp 2 -m 640 -k en-us \ 68sudo ${qemu} -enable-kvm -smp 2 -m 640 -k en-us \
69 -vga qxl \ 69 -vga qxl \
70 -net nic,vlan=0,model=virtio,macaddr=$MAC \ 70 -net nic,model=virtio,macaddr=$MAC \
71 ${USE_NET:+ -net "$NET"} \ 71 ${USE_NET:+ -net "$NET"} \
72 -rtc base=localtime \ 72 -rtc base=localtime \
73 -drive index=0,media=disk,format=raw,file="$disk" \ 73 -drive index=0,media=disk,format=raw,file="$disk" \