diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-07-04 08:34:32 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 08:40:26 -0400 |
commit | c3eb5b14449a0949e9764d39374a2ea63faae14f (patch) | |
tree | 8c4baf9e84c8c70651b9d4282df6fce776cfdcaa /arch/arm64/kvm | |
parent | fe489bf4505ae26d3c6d6a1f1d3064c2a9c5cd85 (diff) |
arm64: KVM: Kconfig integration
Finally plug KVM/arm64 into the config system, making it possible
to enable KVM support on AArch64 CPUs.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm64/kvm')
-rw-r--r-- | arch/arm64/kvm/Kconfig | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig new file mode 100644 index 000000000000..21e90820bd23 --- /dev/null +++ b/arch/arm64/kvm/Kconfig | |||
@@ -0,0 +1,51 @@ | |||
1 | # | ||
2 | # KVM configuration | ||
3 | # | ||
4 | |||
5 | source "virt/kvm/Kconfig" | ||
6 | |||
7 | menuconfig 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 | |||
17 | if VIRTUALIZATION | ||
18 | |||
19 | config KVM | ||
20 | bool "Kernel-based Virtual Machine (KVM) support" | ||
21 | select MMU_NOTIFIER | ||
22 | select PREEMPT_NOTIFIERS | ||
23 | select ANON_INODES | ||
24 | select KVM_MMIO | ||
25 | select KVM_ARM_HOST | ||
26 | select KVM_ARM_VGIC | ||
27 | select KVM_ARM_TIMER | ||
28 | ---help--- | ||
29 | Support hosting virtualized guest machines. | ||
30 | |||
31 | If unsure, say N. | ||
32 | |||
33 | config KVM_ARM_HOST | ||
34 | bool | ||
35 | ---help--- | ||
36 | Provides host support for ARM processors. | ||
37 | |||
38 | config KVM_ARM_VGIC | ||
39 | bool | ||
40 | depends on KVM_ARM_HOST && OF | ||
41 | select HAVE_KVM_IRQCHIP | ||
42 | ---help--- | ||
43 | Adds support for a hardware assisted, in-kernel GIC emulation. | ||
44 | |||
45 | config KVM_ARM_TIMER | ||
46 | bool | ||
47 | depends on KVM_ARM_VGIC | ||
48 | ---help--- | ||
49 | Adds support for the Architected Timers in virtual machines. | ||
50 | |||
51 | endif # VIRTUALIZATION | ||