[RFC 02/55] KVM: arm64: Add nesting config option

From: Jintack Lim
Date: Mon Jan 09 2017 - 01:41:09 EST


From: Christoffer Dall <christoffer.dall@xxxxxxxxxx>

Add an option that allows nested hypervisor support.

Signed-off-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx>
Signed-off-by: Jintack Lim <jintack@xxxxxxxxxxxxxxx>
---
arch/arm64/kvm/Kconfig | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig
index 6eaf12c..37263ff 100644
--- a/arch/arm64/kvm/Kconfig
+++ b/arch/arm64/kvm/Kconfig
@@ -57,6 +57,12 @@ config KVM_ARM_PMU
Adds support for a virtual Performance Monitoring Unit (PMU) in
virtual machines.

+config KVM_ARM_NESTED_HYP
+ bool "Nested Virtualization"
+ depends on KVM
+ ---help---
+ Support nested hypervisors in VMs.
+
source drivers/vhost/Kconfig

endif # VIRTUALIZATION
--
1.9.1