diff --git a/vl.c b/vl.c index ea8c63c5dbd8aee62da847b109fb6001ddc8192d..f752a3b741a5ba99b0864ef542ee10893653e9ca 100644 --- a/vl.c +++ b/vl.c @@ -4030,6 +4030,7 @@ static TAPState *net_tap_fd_init(VLANState *vlan, int fd) if (!s) return NULL; s->fd = fd; + enable_sigio_timer(fd); s->vc = qemu_new_vlan_client(vlan, tap_receive, NULL, s); qemu_set_fd_handler(s->fd, tap_send, NULL, s); snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd);