mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Introduce block::factory with open_disk() as the single entry point for opening disk images. It handles file opening, format detection, async I/O probing, and backend construction. Per format helpers (open_fixed_vhd, open_raw, open_qcow2, open_vhdx) prefer io_uring over AIO over synchronous fallback. Warnings only fire when a backend was eligible but its runtime probe failed, not when the user intentionally disabled it. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>