mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
block: Remove qcow compat alias
Update external consumers to use formats::qcow::internal instead of the top level qcow alias. Keep a crate private use for the QcowError variant in lib.rs. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
f8327faa33
commit
2c8978bbf2
@@ -14,6 +14,7 @@ use std::sync::mpsc::Receiver;
|
||||
use std::time::{Duration, Instant};
|
||||
use std::{cmp, fs, io, thread};
|
||||
|
||||
use block::formats::qcow::internal::ImageType as QcowImageType;
|
||||
use test_infra::*;
|
||||
use vmm_sys_util::tempdir::TempDir;
|
||||
#[cfg(not(feature = "mshv"))]
|
||||
@@ -947,7 +948,7 @@ pub(crate) fn disk_check_consistency(
|
||||
}
|
||||
|
||||
if let Some((backing_path, format, initial_checksum)) = initial_backing_checksum {
|
||||
if format.parse::<block::qcow::ImageType>().ok() != Some(block::qcow::ImageType::Raw) {
|
||||
if format.parse::<QcowImageType>().ok() != Some(QcowImageType::Raw) {
|
||||
let output = run_qemu_img(&backing_path, &["check"], None);
|
||||
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user