mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Move scatter_to_iovecs, zero_fill_iovecs and gather_from_iovecs into qcow_common so they can be shared with the upcoming qcow_async backend. These helpers treat an iovec array as a flat byte stream and are used by both read_vectored and write_vectored code paths. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>