From 396f9ce2c66b3bd926f47d01d0a9839edfe06f83 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 18 Aug 2022 15:41:13 +0100 Subject: [PATCH] vmm: Deprecate non-PVH firmware loading Curently all the firmware blobs we support can use PVH loading. See: #4511 Signed-off-by: Rob Bradford --- vmm/src/vm.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vmm/src/vm.rs b/vmm/src/vm.rs index 87278d5c8..cdb3631da 100644 --- a/vmm/src/vm.rs +++ b/vmm/src/vm.rs @@ -993,6 +993,8 @@ impl Vm { mut firmware: File, memory_manager: &Arc>, ) -> Result { + warn!("Loading of legacy (non-PVH) firmware is deprecated and will be removed in a future version."); + // Not an ELF header - assume raw binary data / firmware let size = firmware .seek(SeekFrom::End(0))