Skip to content

Commit 56912f0

Browse files
cpercivaroypat
authored andcommitted
Add docs/pvh.md
Brief description of the PVH boot mode. We defer to Xen for technical details of how CPU registers are set up upon kernel entry. Signed-off-by: Colin Percival <[email protected]>
1 parent 5afbaa1 commit 56912f0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/pvh.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# PVH boot mode
2+
3+
Firecracker supports booting x86 kernels in "PVH direct boot" mode
4+
[as specified by the Xen project](https://github.com/xen-project/xen/blob/master/docs/misc/pvh.pandoc).
5+
If a kernel is provided which contains the XEN_ELFNOTE_PHYS32_ENTRY ELF Note
6+
then this boot mode will be used. This boot mode was designed for virtualized
7+
environments which load the kernel directly, and is simpler than the "Linux
8+
boot" mode which is designed to be launched from a legacy boot loader.
9+
10+
PVH boot mode can be enabled for Linux by setting CONFIG_XEN_PVH=y in the
11+
kernel configuration. (This is not the default setting.)
12+
13+
PVH boot mode is enabled by default in FreeBSD, which has support for
14+
Firecracker starting with FreeBSD 14.0. Instructions on building a FreeBSD
15+
kernel and root filesystem are available [here](rootfs-and-kernel-setup.md).

0 commit comments

Comments
 (0)