mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
block: Remove raw_disk compat alias
Update external consumers and internal test modules to use formats::raw instead of the raw_disk alias, then remove the re-export from lib.rs. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
25afb8898c
commit
f8327faa33
@@ -107,7 +107,7 @@ mod unit_tests {
|
||||
use vmm_sys_util::tempfile::TempFile;
|
||||
|
||||
use super::*;
|
||||
use crate::raw_disk::worker::tests;
|
||||
use crate::formats::raw::worker::tests;
|
||||
|
||||
#[test]
|
||||
fn test_punch_hole() {
|
||||
|
||||
@@ -135,7 +135,7 @@ mod unit_tests {
|
||||
use vmm_sys_util::tempfile::TempFile;
|
||||
|
||||
use super::*;
|
||||
use crate::raw_disk::worker::tests;
|
||||
use crate::formats::raw::worker::tests;
|
||||
|
||||
#[test]
|
||||
fn test_punch_hole() {
|
||||
|
||||
@@ -28,7 +28,6 @@ use std::str::FromStr;
|
||||
use std::{cmp, mem, result};
|
||||
|
||||
pub use formats::qcow::internal as qcow;
|
||||
pub use formats::raw as raw_disk;
|
||||
pub use formats::vhdx::internal as vhdx;
|
||||
#[cfg(feature = "io_uring")]
|
||||
use io_uring::{IoUring, Probe, opcode};
|
||||
|
||||
Reference in New Issue
Block a user