From 74b0613c04d4fc7199b0474ff18e9bccf17a8d1c Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 24 Mar 2026 13:59:55 +0100 Subject: [PATCH] block: vhd: impl SparseCapable for FixedVhdDiskSync Fixed VHD does not support sparse operations. Signed-off-by: Anatol Belski --- block/src/fixed_vhd_sync.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/src/fixed_vhd_sync.rs b/block/src/fixed_vhd_sync.rs index 056c79818..c66a945cb 100644 --- a/block/src/fixed_vhd_sync.rs +++ b/block/src/fixed_vhd_sync.rs @@ -78,6 +78,8 @@ impl disk_file::DiskFd for FixedVhdDiskSync { impl disk_file::Geometry for FixedVhdDiskSync {} +impl disk_file::SparseCapable for FixedVhdDiskSync {} + pub struct FixedVhdSync { raw_file_sync: RawFileSync, size: u64,