Skip to content

Commit 53e8ce1

Browse files
Alexandru EliseiMarc Zyngier
authored andcommitted
Documentation: admin-guide: Document side effects when pKVM is enabled
Recent changes to KVM for arm64 has made it impossible for the host to hibernate or use kexec when protected mode is enabled via the kernel command line. There are people who rely on kexec (for example, developers who use kexec as a quick way to test a new kernel), let's document this change in behaviour, so it doesn't catch them by surprise and we have a place to point people to if it does. Signed-off-by: Alexandru Elisei <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 057bed2 commit 53e8ce1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2372,7 +2372,9 @@
23722372
state is kept private from the host.
23732373
Not valid if the kernel is running in EL2.
23742374

2375-
Defaults to VHE/nVHE based on hardware support.
2375+
Defaults to VHE/nVHE based on hardware support. Setting
2376+
mode to "protected" will disable kexec and hibernation
2377+
for the host.
23762378

23772379
kvm-arm.vgic_v3_group0_trap=
23782380
[KVM,ARM] Trap guest accesses to GICv3 group-0

0 commit comments

Comments
 (0)