aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMarvin Borner2020-09-26 16:29:49 +0200
committerMarvin Borner2020-09-26 16:29:49 +0200
commitcac7c352a1ece2744de42128a9c69df16f05d26a (patch)
tree667d9b817f77df30468c63af735de0790f59acac /run
parent038722e045684a1a04f0fd6a51da2a6ea9dc9bb5 (diff)
Very simple icmp ping handling
Diffstat (limited to 'run')
-rwxr-xr-xrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/run b/run
index 284a07e..7ce006b 100755
--- a/run
+++ b/run
@@ -12,7 +12,7 @@ no_ask="${2}"
qemu_with_flags() {
if [ -z "$network" ]; then network="rtl8139"; fi
if [ "$network" != "false" ] && [ "$mode" = "net" ]; then
- qemu-system-i386 -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -smp 4 -netdev tap,helper=/usr/lib/qemu/qemu-bridge-helper,id=melvix_net -device $network,netdev=melvix_net,id=melvix_nic "$@"
+ qemu-system-i386 -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -smp 4 -netdev tap,helper=/usr/lib/qemu/qemu-bridge-helper,id=melvix_net -device $network,netdev=melvix_net,id=melvix_nic -object filter-dump,id=melvix_nic,netdev=melvix_net,file=dump.pcap "$@"
else
qemu-system-i386 -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -smp 4 "$@"
fi