block: vhd: impl SparseCapable for FixedVhdDiskSync

Fixed VHD does not support sparse operations.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-03-24 13:59:55 +01:00
committed by Bo Chen
parent 1a56cb3d0e
commit 74b0613c04
+2
View File
@@ -78,6 +78,8 @@ impl disk_file::DiskFd for FixedVhdDiskSync {
impl disk_file::Geometry for FixedVhdDiskSync {} impl disk_file::Geometry for FixedVhdDiskSync {}
impl disk_file::SparseCapable for FixedVhdDiskSync {}
pub struct FixedVhdSync { pub struct FixedVhdSync {
raw_file_sync: RawFileSync, raw_file_sync: RawFileSync,
size: u64, size: u64,