xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 930beb5a)
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	select MMU_NOTIFIER
22	select PREEMPT_NOTIFIERS
23	select ANON_INODES
24	select HAVE_KVM_CPU_RELAX_INTERCEPT
25	select KVM_MMIO
26	select KVM_ARM_HOST
27	select KVM_ARM_VGIC
28	select KVM_ARM_TIMER
29	---help---
30	  Support hosting virtualized guest machines.
31
32	  If unsure, say N.
33
34config KVM_ARM_HOST
35	bool
36	---help---
37	  Provides host support for ARM processors.
38
39config KVM_ARM_VGIC
40	bool
41	depends on KVM_ARM_HOST && OF
42	select HAVE_KVM_IRQCHIP
43	---help---
44	  Adds support for a hardware assisted, in-kernel GIC emulation.
45
46config KVM_ARM_TIMER
47	bool
48	depends on KVM_ARM_VGIC
49	---help---
50	  Adds support for the Architected Timers in virtual machines.
51
52endif # VIRTUALIZATION
53