block: vhd: Add unified FixedVhdDisk

Introduce FixedVhdDisk as a single DiskFile wrapper around FixedVhd.
It accepts a use_io_uring flag at construction time and dispatches to
FixedVhdSync or FixedVhdAsync inside create_async_io() accordingly.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-04-22 19:34:28 +02:00
committed by Bo Chen
parent 76069a73d6
commit cb13100fe3
2 changed files with 118 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ pub mod fixed_vhd;
#[cfg(feature = "io_uring")]
/// Enabled with the `"io_uring"` feature
pub mod fixed_vhd_async;
pub mod fixed_vhd_disk;
pub mod fixed_vhd_sync;
pub mod qcow;
#[cfg(feature = "io_uring")]