From cac7c352a1ece2744de42128a9c69df16f05d26a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 26 Sep 2020 16:29:49 +0200 Subject: Very simple icmp ping handling --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run') 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 -- cgit v1.2.3