mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
57508a4b1c
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |