diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/tap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -696,6 +696,7 @@ static void net_init_tap_one(const NetdevTapOptions *tap, NetClientState *peer, "tap: open vhost char device failed"); return; } + fcntl(vhostfd, F_SETFL, O_NONBLOCK); } options.opaque = (void *)(uintptr_t)vhostfd; |