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};
|
||||
|
||||
@@ -16,7 +16,7 @@ use std::sync::Arc;
|
||||
use std::{ffi, io};
|
||||
|
||||
use block::fcntl::LockGranularityChoice;
|
||||
use block::raw_disk::{RawBackend, RawDisk};
|
||||
use block::formats::raw::{RawBackend, RawDisk};
|
||||
use libfuzzer_sys::{fuzz_target, Corpus};
|
||||
use seccompiler::SeccompAction;
|
||||
use virtio_devices::{Block, VirtioDevice, VirtioInterrupt, VirtioInterruptType};
|
||||
|
||||
@@ -13,7 +13,7 @@ use std::time::Instant;
|
||||
|
||||
use block::async_io::AsyncIoOperation;
|
||||
use block::disk_file::AsyncDiskFile;
|
||||
use block::raw_disk::{RawBackend, RawDisk};
|
||||
use block::formats::raw::{RawBackend, RawDisk};
|
||||
|
||||
use crate::PerformanceTestControl;
|
||||
use crate::util::{
|
||||
|
||||
Reference in New Issue
Block a user