diff --git a/block/src/qcow_async.rs b/block/src/qcow_async.rs index f9cd0572e..62b2872b2 100644 --- a/block/src/qcow_async.rs +++ b/block/src/qcow_async.rs @@ -91,3 +91,13 @@ impl disk_file::DiskFd for QcowDiskAsync { } impl disk_file::Geometry for QcowDiskAsync {} + +impl disk_file::SparseCapable for QcowDiskAsync { + fn supports_sparse_operations(&self) -> bool { + true + } + + fn supports_zero_flag(&self) -> bool { + true + } +}