mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The raw, qcow, and vhdx sync engines each carried an EventFd and a VecDeque of completions and repeated the same push and signal idiom at every completion site. Bundle the two into a SyncCompletionQueue with complete, notifier, and next_completed, and route the three engines through it. The repeated eventfd signal now lives in one place. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>