Kconfig 1.3 KB
Newer Older
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 MMU && OF
22 23
	select PREEMPT_NOTIFIERS
	select ANON_INODES
24
	select ARM_GIC
25
	select HAVE_KVM_CPU_RELAX_INTERCEPT
26
	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
27 28
	select KVM_MMIO
	select KVM_ARM_HOST
29
	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
30
	select SRCU
31
	select MMU_NOTIFIER
32
	select KVM_VFIO
E
Eric Auger 已提交
33 34
	select HAVE_KVM_EVENTFD
	select HAVE_KVM_IRQFD
35
	depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER
36
	---help---
37
	  Support hosting virtualized guest machines.
38 39 40 41 42 43 44

	  This module provides access to the hardware capabilities through
	  a character device node named /dev/kvm.

	  If unsure, say N.

config KVM_ARM_HOST
45
	bool
46 47 48
	---help---
	  Provides host support for ARM processors.

49 50 51 52 53 54 55
config KVM_NEW_VGIC
	bool "New VGIC implementation"
	depends on KVM
	default y
	---help---
	  uses the new VGIC implementation

56 57
source drivers/vhost/Kconfig

58
endif # VIRTUALIZATION