mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The sync and uring qcow engines each carried an identical apply_dealloc_action plus punch_hole and write_zeroes bodies that differed only by a flag and the completion sink. Move that shared deallocation logic into common.rs as apply_dealloc_action and deallocate_range_result. Each engine now calls it and injects the completion through its own queue. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>