vmm: Deprecate image type auto detection

Signed-off-by: Bo Chen <bchen@crusoe.ai>
This commit is contained in:
Bo Chen
2026-05-14 16:55:30 +00:00
parent 9d487a8abc
commit b4b99824d6

View File

@@ -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."