2013-07-04 20:34:32 +08:00
|
|
|
#
|
|
|
|
# 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"
|
2015-03-11 21:21:31 +08:00
|
|
|
depends on OF
|
2013-07-04 20:34:32 +08:00
|
|
|
select MMU_NOTIFIER
|
|
|
|
select PREEMPT_NOTIFIERS
|
|
|
|
select ANON_INODES
|
2013-08-02 18:41:13 +08:00
|
|
|
select HAVE_KVM_CPU_RELAX_INTERCEPT
|
2015-01-16 07:59:01 +08:00
|
|
|
select HAVE_KVM_ARCH_TLB_FLUSH_ALL
|
2013-07-04 20:34:32 +08:00
|
|
|
select KVM_MMIO
|
|
|
|
select KVM_ARM_HOST
|
2015-01-16 07:59:01 +08:00
|
|
|
select KVM_GENERIC_DIRTYLOG_READ_PROTECT
|
2014-12-06 00:24:45 +08:00
|
|
|
select SRCU
|
2015-06-05 23:21:49 +08:00
|
|
|
select KVM_VFIO
|
2015-03-04 18:14:36 +08:00
|
|
|
select HAVE_KVM_EVENTFD
|
|
|
|
select HAVE_KVM_IRQFD
|
2015-09-11 09:38:32 +08:00
|
|
|
select KVM_ARM_PMU if HW_PERF_EVENTS
|
2016-07-15 19:43:38 +08:00
|
|
|
select HAVE_KVM_MSI
|
2016-07-23 00:20:41 +08:00
|
|
|
select HAVE_KVM_IRQCHIP
|
|
|
|
select HAVE_KVM_IRQ_ROUTING
|
2013-07-04 20:34:32 +08:00
|
|
|
---help---
|
|
|
|
Support hosting virtualized guest machines.
|
2015-10-19 21:19:37 +08:00
|
|
|
We don't support KVM with 16K page tables yet, due to the multiple
|
|
|
|
levels of fake page tables.
|
2013-07-04 20:34:32 +08:00
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config KVM_ARM_HOST
|
|
|
|
bool
|
|
|
|
---help---
|
|
|
|
Provides host support for ARM processors.
|
|
|
|
|
2015-09-11 09:38:32 +08:00
|
|
|
config KVM_ARM_PMU
|
|
|
|
bool
|
|
|
|
---help---
|
|
|
|
Adds support for a virtual Performance Monitoring Unit (PMU) in
|
|
|
|
virtual machines.
|
|
|
|
|
2015-10-09 23:08:43 +08:00
|
|
|
source drivers/vhost/Kconfig
|
|
|
|
|
2013-07-04 20:34:32 +08:00
|
|
|
endif # VIRTUALIZATION
|