cc4690e980
Previously, we miss to set intr_handle->fd which will be used as
target file for epoll to check LSC.
As a result, stdin (0) is used and intr thread keeps busy whenever
data comes from stdin.
To fix this, we use vhostfd as the target file for epoll to check
the link status change events. And we move intr_handle initialization
after vhost backend settup to make sure vhostfd is initialized.
Fixes:
|
||
---|---|---|
.. | ||
vhost_kernel_tap.c | ||
vhost_kernel_tap.h | ||
vhost_kernel.c | ||
vhost_user.c | ||
vhost.h | ||
virtio_user_dev.c | ||
virtio_user_dev.h |