From b4b99824d6b6baf69351e132c7217ce4457d68cf Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Thu, 14 May 2026 16:55:30 +0000 Subject: [PATCH] vmm: Deprecate image type auto detection Signed-off-by: Bo Chen --- vmm/src/device_manager.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vmm/src/device_manager.rs b/vmm/src/device_manager.rs index be6f7069c..e6902a4cb 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -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."