mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
block: Remove vhdx compat alias
Re-export Vhdx from formats::vhdx and update the fuzz target to use block::formats::vhdx::Vhdx. Remove the vhdx compat alias from lib.rs. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
2c8978bbf2
commit
c80aaa1b58
@@ -16,9 +16,8 @@ use std::fs::File;
|
||||
use std::os::fd::AsRawFd;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
pub use internal::VhdxError;
|
||||
pub use internal::{Vhdx, VhdxError};
|
||||
|
||||
use self::internal::Vhdx;
|
||||
use self::worker::sync::VhdxSync;
|
||||
use crate::async_io::{AsyncIo, BorrowedDiskFd, DiskFileError};
|
||||
use crate::error::{BlockError, BlockErrorKind, BlockResult, ErrorOp};
|
||||
|
||||
@@ -28,7 +28,6 @@ use std::str::FromStr;
|
||||
use std::{cmp, mem, result};
|
||||
|
||||
use formats::qcow::internal as qcow;
|
||||
pub use formats::vhdx::internal as vhdx;
|
||||
#[cfg(feature = "io_uring")]
|
||||
use io_uring::{IoUring, Probe, opcode};
|
||||
use libc::{
|
||||
|
||||
Reference in New Issue
Block a user