aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/svm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index fce3ba0f2079..7bbd17cc3488 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -182,11 +182,13 @@ static bool npt_enabled = true;
182#else 182#else
183static bool npt_enabled; 183static bool npt_enabled;
184#endif 184#endif
185static int npt = 1;
186 185
186/* allow nested paging (virtualized MMU) for all guests */
187static int npt = true;
187module_param(npt, int, S_IRUGO); 188module_param(npt, int, S_IRUGO);
188 189
189static int nested = 1; 190/* allow nested virtualization in KVM/SVM */
191static int nested = true;
190module_param(nested, int, S_IRUGO); 192module_param(nested, int, S_IRUGO);
191 193
192static void svm_flush_tlb(struct kvm_vcpu *vcpu); 194static void svm_flush_tlb(struct kvm_vcpu *vcpu);