vmm: Switch fixed VHD sync to DiskBackend::Next

Wire FixedVhdDiskSync through the new composable trait system.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-03-24 15:21:08 +01:00
committed by Bo Chen
parent cc2f878094
commit c90f5a9e47

View File

@@ -2729,10 +2729,10 @@ impl DeviceManager {
}
} else {
info!("Using synchronous fixed VHD disk file");
DiskBackend::Legacy(Box::new(
DiskBackend::Next(Box::new(
FixedVhdDiskSync::new(file)
.map_err(DeviceManagerError::CreateFixedVhdDiskSync)?,
) as Box<dyn DiskFile>)
))
}
}
ImageType::Raw => {