summaryrefslogtreecommitdiff
path: root/tests/run_qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run_qemu.sh')
-rwxr-xr-xtests/run_qemu.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run_qemu.sh b/tests/run_qemu.sh
new file mode 100755
index 0000000..5c825f1
--- /dev/null
+++ b/tests/run_qemu.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+sleep 2 && \
+qemu-system-i386 -cpu 486 -m 128M \
+ -drive "file=floppy00,if=floppy,format=raw" \
+ -netdev user,id=net0,net=10.0.0.0/24,host=10.0.0.2,dhcpstart=10.0.0.16,hostfwd=tcp::8080-:80,hostfwd=udp::8081-:81 \
+ -device rtl8139,netdev=net0