Skip to content

Commit 4fa73bf

Browse files
committed
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 <[email protected]>
1 parent 142c9b6 commit 4fa73bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ and this project adheres to
142142
Firecracker. As a result, Firecracker snapshot version is now 2.0.0.
143143
- Added support for PVH boot mode. This is used when an x86 kernel provides
144144
the appropriate ELF Note to indicate that PVH boot mode is supported.
145-
Linux kernels compiled with CONFIG_XEN_PVH=y set this ELF Note, as do
146-
FreeBSD kernels.
145+
Linux kernels newer than 5.0 compiled with `CONFIG_PVH=y` set this ELF Note,
146+
as do FreeBSD kernels.
147147

148148
### Changed
149149

docs/pvh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ then this boot mode will be used. This boot mode was designed for virtualized
77
environments which load the kernel directly, and is simpler than the "Linux
88
boot" mode which is designed to be launched from a legacy boot loader.
99

10-
PVH boot mode can be enabled for Linux by setting CONFIG_XEN_PVH=y in the
10+
PVH boot mode can be enabled for Linux by setting `CONFIG_PVH=y` in the
1111
kernel configuration. (This is not the default setting.)
1212

1313
PVH boot mode is enabled by default in FreeBSD, which has support for

0 commit comments

Comments
 (0)