cloud-hypervisor/vhost_user_backend
Sebastien Boeuf 09392f0530 vhost_user_backend: Fix remaining issues
This commit fixes all the remaining issues that were found as part of
the integration with vhost-user-net.

It fixes the way to notify that a vring is used, by using the proper
EventFd.

It removes the process_queue() function from the trait, since the
complexity it was introducing was leading to deadlocks with mutexes.

It moves the register/unregister functions for registering custom events
from the backend, from the VringEpollHandler to the VringWorker. This
allows for a lot of simplification and solve a deadlock issue.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-09-30 09:26:11 -07:00
..
src vhost_user_backend: Fix remaining issues 2019-09-30 09:26:11 -07:00
Cargo.toml vhost_user_backend: Add new crate 2019-09-30 09:26:11 -07:00