From 0dece29fa8b33008ecf6bce916bc73f99bd4815a Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 24 Mar 2026 17:09:47 +0100 Subject: [PATCH] block: vhd: impl SparseCapable for FixedVhdDiskAsync Fixed VHD does not support sparse operations. Signed-off-by: Anatol Belski --- block/src/fixed_vhd_async.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/src/fixed_vhd_async.rs b/block/src/fixed_vhd_async.rs index 3ce44e8db..bba4f07de 100644 --- a/block/src/fixed_vhd_async.rs +++ b/block/src/fixed_vhd_async.rs @@ -76,6 +76,8 @@ impl disk_file::DiskFd for FixedVhdDiskAsync { impl disk_file::Geometry for FixedVhdDiskAsync {} +impl disk_file::SparseCapable for FixedVhdDiskAsync {} + pub struct FixedVhdAsync { raw_file_async: RawFileAsync, size: u64,