mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches. Thanx to: sson, cognet, and others for much improved bsd-user support - it now runs at least quite a few mips64 and single-threaded arm binaries, see: https://wiki.freebsd.org/QemuUserModeHowTo
18 lines
423 B
Text
18 lines
423 B
Text
Index: qemu/net/tap.c
|
|
@@ -286,12 +286,13 @@ static void tap_cleanup(NetClientState *
|
|
|
|
qemu_purge_queued_packets(nc);
|
|
|
|
- if (s->down_script[0])
|
|
- launch_script(s->down_script, s->down_script_arg, s->fd);
|
|
-
|
|
tap_read_poll(s, false);
|
|
tap_write_poll(s, false);
|
|
close(s->fd);
|
|
+
|
|
+ if (s->down_script[0])
|
|
+ launch_script(s->down_script, s->down_script_arg, s->fd);
|
|
+
|
|
s->fd = -1;
|
|
}
|
|
|