summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-10-04 12:14:42 -0400
committerAndrew Cady <d@jerkface.net>2019-10-04 12:14:42 -0400
commitdebc94d3fe3c75d995854073ecbb5ba7c4a542e8 (patch)
tree333e5cdde9083bc36bb2add7ed53a52538706fda /src
parent631ad6b3a83ff8caa10b8b04401f37017e2c0024 (diff)
qemu.sh: support 32bit
Diffstat (limited to 'src')
-rwxr-xr-xsrc/qemu.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qemu.sh b/src/qemu.sh
index 36c0bdf..2033f0e 100755
--- a/src/qemu.sh
+++ b/src/qemu.sh
@@ -55,8 +55,13 @@ else
55 fi 55 fi
56fi 56fi
57 57
58case $(arch) in
59 x86_64) qemu=qemu-system-x86_64 ;;
60 *) qemu=qemu-system-i386 ;;
61esac
62
58set -x 63set -x
59sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \ 64sudo ${qemu} -enable-kvm -smp 2 -m 640 -k en-us \
60 -vga qxl \ 65 -vga qxl \
61 -net nic,vlan=0,model=virtio,macaddr=$MAC \ 66 -net nic,vlan=0,model=virtio,macaddr=$MAC \
62 ${USE_NET:+ -net "$NET"} \ 67 ${USE_NET:+ -net "$NET"} \