mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
759a0be6cd
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>