mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Change Block to hold DiskBackend instead of Box<dyn async_io::DiskFile>. In device_manager, existing formats (raw, vhd, vhdx) are wrapped in DiskBackend::Legacy while QcowDiskSync uses DiskBackend::Next. The fuzz target is updated accordingly. The Error::DiskResize variant now carries BlockError instead of DiskFileError, matching the BlockResult return type of DiskBackend::resize(). Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>