Kconfig 1.1 KB
Newer Older
M
Marc Zyngier 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#
# KVM configuration
#

source "virt/kvm/Kconfig"

menuconfig VIRTUALIZATION
	bool "Virtualization"
	---help---
	  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 VIRTUALIZATION

config KVM
	bool "Kernel-based Virtual Machine (KVM) support"
21
	depends on OF
22
	depends on !ARM64_16K_PAGES
M
Marc Zyngier 已提交
23 24 25
	select MMU_NOTIFIER
	select PREEMPT_NOTIFIERS
	select ANON_INODES
26
	select HAVE_KVM_CPU_RELAX_INTERCEPT
27
	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
M
Marc Zyngier 已提交
28 29
	select KVM_MMIO
	select KVM_ARM_HOST
30
	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
31
	select SRCU
32
	select KVM_VFIO
E
Eric Auger 已提交
33 34
	select HAVE_KVM_EVENTFD
	select HAVE_KVM_IRQFD
M
Marc Zyngier 已提交
35 36
	---help---
	  Support hosting virtualized guest machines.
37 38
	  We don't support KVM with 16K page tables yet, due to the multiple
	  levels of fake page tables.
M
Marc Zyngier 已提交
39 40 41 42 43 44 45 46 47

	  If unsure, say N.

config KVM_ARM_HOST
	bool
	---help---
	  Provides host support for ARM processors.

endif # VIRTUALIZATION