xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 8889583c)
1c3eb5b14SMarc Zyngier#
2c3eb5b14SMarc Zyngier# KVM configuration
3c3eb5b14SMarc Zyngier#
4c3eb5b14SMarc Zyngier
5c3eb5b14SMarc Zyngiersource "virt/kvm/Kconfig"
6c3eb5b14SMarc Zyngier
7c3eb5b14SMarc Zyngiermenuconfig VIRTUALIZATION
8c3eb5b14SMarc Zyngier	bool "Virtualization"
9c3eb5b14SMarc Zyngier	---help---
10c3eb5b14SMarc Zyngier	  Say Y here to get to see options for using your Linux host to run
11c3eb5b14SMarc Zyngier	  other operating systems inside virtual machines (guests).
12c3eb5b14SMarc Zyngier	  This option alone does not add any kernel code.
13c3eb5b14SMarc Zyngier
14c3eb5b14SMarc Zyngier	  If you say N, all options in this submenu will be skipped and
15c3eb5b14SMarc Zyngier	  disabled.
16c3eb5b14SMarc Zyngier
17c3eb5b14SMarc Zyngierif VIRTUALIZATION
18c3eb5b14SMarc Zyngier
19c3eb5b14SMarc Zyngierconfig KVM
20c3eb5b14SMarc Zyngier	bool "Kernel-based Virtual Machine (KVM) support"
21662d9715SChristoffer Dall	depends on OF
22c3eb5b14SMarc Zyngier	select MMU_NOTIFIER
23c3eb5b14SMarc Zyngier	select PREEMPT_NOTIFIERS
24c3eb5b14SMarc Zyngier	select ANON_INODES
25d241aac7SMarc Zyngier	select HAVE_KVM_CPU_RELAX_INTERCEPT
267276030aSMario Smarduch	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
27c3eb5b14SMarc Zyngier	select KVM_MMIO
28c3eb5b14SMarc Zyngier	select KVM_ARM_HOST
297276030aSMario Smarduch	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
3083fe27eaSPranith Kumar	select SRCU
318889583cSKim Phillips	select KVM_VFIO
32174178feSEric Auger	select HAVE_KVM_EVENTFD
33174178feSEric Auger	select HAVE_KVM_IRQFD
34c3eb5b14SMarc Zyngier	---help---
35c3eb5b14SMarc Zyngier	  Support hosting virtualized guest machines.
36c3eb5b14SMarc Zyngier
37c3eb5b14SMarc Zyngier	  If unsure, say N.
38c3eb5b14SMarc Zyngier
39c3eb5b14SMarc Zyngierconfig KVM_ARM_HOST
40c3eb5b14SMarc Zyngier	bool
41c3eb5b14SMarc Zyngier	---help---
42c3eb5b14SMarc Zyngier	  Provides host support for ARM processors.
43c3eb5b14SMarc Zyngier
44da781470SAnup Patelconfig KVM_ARM_MAX_VCPUS
45da781470SAnup Patel	int "Number maximum supported virtual CPUs per VM"
46da781470SAnup Patel	depends on KVM_ARM_HOST
47da781470SAnup Patel	default 4
48da781470SAnup Patel	help
49da781470SAnup Patel	  Static number of max supported virtual CPUs per VM.
50da781470SAnup Patel
51da781470SAnup Patel	  If you choose a high number, the vcpu structures will be quite
52da781470SAnup Patel	  large, so only choose a reasonable number that you expect to
53da781470SAnup Patel	  actually use.
54da781470SAnup Patel
55c3eb5b14SMarc Zyngierendif # VIRTUALIZATION
56