mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
block: qcow: Flatten internal and worker modules
Remove the internal and worker submodule layers from the QCOW2 format directory. The former internal files become direct children of qcow, with internal/mod.rs turning into parser.rs. The worker backends move up as engine_sync.rs and engine_uring.rs, and worker/mod.rs, which held only module declarations, is dropped. The public parser types are now surfaced at the qcow module level, so external callers use block::formats::qcow instead of reaching into the internal module. Assisted-by: Claude:Opus-4.8 Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
b5aeabe77c
commit
7120311462
@@ -15,8 +15,7 @@ use std::thread;
|
||||
use std::time::Duration;
|
||||
|
||||
use block::async_io::{AsyncIo, GuestMemoryTarget};
|
||||
use block::formats::qcow::internal::{BackingFileConfig, ImageType};
|
||||
use block::formats::qcow::{QcowDisk, QcowTempDisk};
|
||||
use block::formats::qcow::{BackingFileConfig, ImageType, QcowDisk, QcowTempDisk};
|
||||
use vm_memory::{Bytes, GuestAddress, GuestMemoryMmap};
|
||||
use vmm_sys_util::eventfd::EventFd;
|
||||
use vmm_sys_util::tempfile::TempFile;
|
||||
|
||||
Reference in New Issue
Block a user