mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Switch rebuild_refcounts from qcow::Result to BlockResult. The inner helper functions remain on qcow::Result since they are purely internal, and are wrapped with map_err at each call site where they cross the BlockResult boundary. InvalidRefcountTableSize errors are classified as CorruptImage since they indicate inconsistent internal refcount structures rather than a format violation. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>