cloud-hypervisor/virtio-devices
Rob Bradford 57508a4b1c virtio-net: net: Wait for threads to exit on Drop
It is required to close all file descriptors pointing to an opened TAP
device prior to reopening the TAP device; otherwise it will return
-EBUSY as the device can only be opened once (excluding MQ use cases.)

When rebooting the VM the virtio-net threads would still be running and
so the TAP file descriptor may not have been closed. To ensure that the
TAP FD is closed wait for all the epoll threads to exit after receiving the
KILL_EVENT.

Fixes: #4868

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-11-10 07:46:16 -08:00
..
src virtio-net: net: Wait for threads to exit on Drop 2022-11-10 07:46:16 -08:00
Cargo.toml build: Bump io-uring from 0.5.7 to 0.5.8 2022-11-02 23:56:43 +00:00