summaryrefslogtreecommitdiff
path: root/.zsh_qemu
diff options
context:
space:
mode:
Diffstat (limited to '.zsh_qemu')
-rw-r--r--.zsh_qemu10
1 files changed, 10 insertions, 0 deletions
diff --git a/.zsh_qemu b/.zsh_qemu
new file mode 100644
index 0000000..2f0c2be
--- /dev/null
+++ b/.zsh_qemu
@@ -0,0 +1,10 @@
+alias q2g_vde="/usr/bin/qemu-system-x86_64 -machine accel=kvm -m 2048 \
+ -nographic \
+ -net nic,vlan=1 \
+ -net vde,vlan=1,sock=/var/run/vde2/vsw0.ctl"
+
+alias q2g_br="/usr/bin/qemu-system-x86_64 -machine accel=kvm -m 2048 \
+ -nographic \
+ -net nic,vlan=0 \
+ -net tap,ifname=tap0,vlan=0,script=no,downscript=no"
+