mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +00:00
5ba3b80e83
Currently the main thread returns immediately after sending a 'queue' event which is rarely received and processed by the virtio-block thread (unless system is in high workload). In this way, the fuzzer is mostly doing nothing and is unable to reproduce its behavior deterministically (from the same inputs). This patch relies on a 'level-triggered' epoll to ensure a 'queue' event is properly processed before return from the main thread. Signed-off-by: Bo Chen <chen.bo@intel.com>