From 18cdd9abaa7e7c682cf8c96d59683313df2c9ec1 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Thu, 7 Sep 2023 15:01:42 +0100 Subject: [PATCH] docs: Refer to the correct kernel config to enable PVH on linux Enabling CONFIG_XEN_PVH=y is for booting on the actual Xen hypervisor. To boot using PVH on a non-Xen hypervisor, set CONFIG_PVH=y. Signed-off-by: Patrick Roy --- CHANGELOG.md | 4 ++-- docs/pvh.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41b555898055..2ed4692d9114 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,8 +18,8 @@ restricted to 1.5. - Added support for PVH boot mode. This is used when an x86 kernel provides the appropriate ELF Note to indicate that PVH boot mode is supported. - Linux kernels compiled with CONFIG_XEN_PVH=y set this ELF Note, as do - FreeBSD kernels. + Linux kernels newer than 5.0 compiled with `CONFIG_PVH=y` set this ELF Note, + as do FreeBSD kernels. ### Changed diff --git a/docs/pvh.md b/docs/pvh.md index 4a351c301ece..c65336c4de23 100644 --- a/docs/pvh.md +++ b/docs/pvh.md @@ -7,7 +7,7 @@ then this boot mode will be used. This boot mode was designed for virtualized environments which load the kernel directly, and is simpler than the "Linux boot" mode which is designed to be launched from a legacy boot loader. -PVH boot mode can be enabled for Linux by setting CONFIG_XEN_PVH=y in the +PVH boot mode can be enabled for Linux by setting `CONFIG_PVH=y` in the kernel configuration. (This is not the default setting.) PVH boot mode is enabled by default in FreeBSD, which has support for