Skip to content

Commit

Permalink
docs: Refer to the correct kernel config to enable PVH on linux
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
roypat committed Sep 7, 2023
1 parent bb6a342 commit 18cdd9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/pvh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18cdd9a

Please sign in to comment.