Kconfig
Includevirt/kvm/Kconfig Open file

CONFIG_VIRTUALIZATION Virtualization

On

Say Y here to get to see options for using your Linux host to run other operating systems inside virtual machines (guests). This option alone does not add any kernel code.

If you say N, all options in this submenu will be skipped and disabled.

If

CONFIG_KVM Kernel-based Virtual Machine (KVM) support

Module

Support hosting virtualized guest machines.

If unsure, say N.

If

CONFIG_PTDUMP_STAGE2_DEBUGFS Present the stage-2 pagetables to debugfs

Unknown

Say Y here if you want to show the stage-2 kernel pagetables layout in a debugfs file. This information is only useful for kernel developers who are working in architecture specific areas of the kernel. It is probably not a good idea to enable this feature in a production kernel.

If in doubt, say N.

Default
  • n

CONFIG_NVHE_EL2_DEBUG Debug mode for non-VHE EL2 object

Unknown

Say Y here to enable the debug mode for the non-VHE KVM EL2 object. Failure reports will BUG() in the hypervisor. This is intended for local EL2 hypervisor development.

If unsure, say N.

Default
  • n

If NVHE_EL2_DEBUG

CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC Disable the host stage-2 on panic

Unknown

Relax the host stage-2 on hypervisor panic to allow the kernel to unwind and symbolize the hypervisor stacktrace. This however tampers the system security. This is intended for local EL2 hypervisor development.

If unsure, say N.

Default
  • n

CONFIG_PKVM_STACKTRACE Protected KVM hypervisor stacktraces

Unknown

Say Y here to enable pKVM hypervisor stacktraces on hyp_panic()

If using protected nVHE mode, but cannot afford the associated memory cost (less than 0.75 page per CPU) of pKVM stacktraces, say N.

If unsure, or not using protected nVHE (pKVM), say N.

Default
  • y