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:
Anatol Belski
2026-04-26 22:02:15 +02:00
committed by Rob Bradford
parent 25afb8898c
commit f8327faa33
5 changed files with 4 additions and 5 deletions

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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};