From 739047563683a8c306c99b3efd8abfa5d97bbdb1 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 25 Mar 2021 13:07:41 +0000 Subject: [PATCH] arch: Report use of deprecated LinuxBoot protocol With CONFIG_PVH in stable kernels for some time we should deprecate the use of alternative boot methods since this will lead to a much simpler boot flow and CI process. See: #2231 Signed-off-by: Rob Bradford --- arch/src/x86_64/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/src/x86_64/mod.rs b/arch/src/x86_64/mod.rs index e0e7dfe67..682328314 100644 --- a/arch/src/x86_64/mod.rs +++ b/arch/src/x86_64/mod.rs @@ -459,6 +459,7 @@ pub fn configure_system( )?; } BootProtocol::LinuxBoot => { + error!("Using deprecated LinuxBoot protocol: Please configure your kernel with CONFIG_PVH=y and supply the `vmlinux` file to `--kernel`"); configure_64bit_boot( guest_mem, cmdline_addr,