mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
All backends currently provide their own implementation for triggering the worker thread to exit via an EventFd. Modify the VhostUserBackend trait to allow a common implementation strategy that backends can use to provide an EventFd (and optional id) that can be used to trigger the worker to exit. Signed-off-by: Rob Bradford <robert.bradford@intel.com>