mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Deprecate image type auto detection
Signed-off-by: Bo Chen <bchen@crusoe.ai>
This commit is contained in:
@@ -2729,6 +2729,11 @@ impl DeviceManager {
|
||||
let mut disable_sector0_writes = false;
|
||||
|
||||
if disk_cfg.image_type == ImageType::Unknown {
|
||||
warn!(
|
||||
"DEPRECATION: auto-detection of disk image type is deprecated and will be \
|
||||
removed in a future release. Please specify image type explicitly."
|
||||
);
|
||||
|
||||
warn!(
|
||||
"No image_type specified - detected as {detected_image_type}. \
|
||||
Configuration updated to persist type across reboots and migrations."
|
||||
|
||||
Reference in New Issue
Block a user