mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Update open_fixed_vhd to construct FixedVhdDisk instead of choosing between FixedVhdDiskAsync and FixedVhdDiskSync. The io_uring decision is now made inside FixedVhdDisk::create_async_io(). Remove FixedVhdDiskSync and FixedVhdDiskAsync DiskFile wrapper structs from fixed_vhd_sync.rs and fixed_vhd_async.rs. Only the FixedVhdSync and FixedVhdAsync AsyncIo worker structs remain in those files. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>