Skip to content

Commit d12d802

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 be69aa5 commit d12d802

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
@@ -194,8 +194,8 @@ and this project adheres to
194194
Firecracker. As a result, Firecracker snapshot version is now 2.0.0.
195195
- Added support for PVH boot mode. This is used when an x86 kernel provides
196196
the appropriate ELF Note to indicate that PVH boot mode is supported.
197-
Linux kernels compiled with CONFIG_XEN_PVH=y set this ELF Note, as do
198-
FreeBSD kernels.
197+
Linux kernels newer than 5.0 compiled with `CONFIG_PVH=y` set this ELF Note,
198+
as do FreeBSD kernels.
199199

200200
### Changed
201201

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)