xref: /linux/arch/arm64/kvm/Kconfig (revision 005438a8eef063495ac059d128eea71b58de50e5)
1#
2# KVM configuration
3#
4
5source "virt/kvm/Kconfig"
6
7menuconfig VIRTUALIZATION
8	bool "Virtualization"
9	---help---
10	  Say Y here to get to see options for using your Linux host to run
11	  other operating systems inside virtual machines (guests).
12	  This option alone does not add any kernel code.
13
14	  If you say N, all options in this submenu will be skipped and
15	  disabled.
16
17if VIRTUALIZATION
18
19config KVM
20	bool "Kernel-based Virtual Machine (KVM) support"
21	depends on OF
22	select MMU_NOTIFIER
23	select PREEMPT_NOTIFIERS
24	select ANON_INODES
25	select HAVE_KVM_CPU_RELAX_INTERCEPT
26	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
27	select KVM_MMIO
28	select KVM_ARM_HOST
29	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
30	select SRCU
31	select KVM_VFIO
32	select HAVE_KVM_EVENTFD
33	select HAVE_KVM_IRQFD
34	---help---
35	  Support hosting virtualized guest machines.
36
37	  If unsure, say N.
38
39config KVM_ARM_HOST
40	bool
41	---help---
42	  Provides host support for ARM processors.
43
44config KVM_ARM_MAX_VCPUS
45	int "Number maximum supported virtual CPUs per VM"
46	depends on KVM_ARM_HOST
47	default 4
48	help
49	  Static number of max supported virtual CPUs per VM.
50
51	  If you choose a high number, the vcpu structures will be quite
52	  large, so only choose a reasonable number that you expect to
53	  actually use.
54
55endif # VIRTUALIZATION
56