]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
KVM: SVM: comment nested paging and virtualization module parameters
authorDavidlohr Bueso <dave@gnu.org>
Tue, 17 Jan 2012 13:09:50 +0000 (14:09 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:43 +0000 (14:52 +0200)
Also use true instead of 1 for enabling by default.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c

index fce3ba0f2079e58577073407bb68dc4126080f4e..7bbd17cc3488b6b5183ccaed62d7eff0c16f6e06 100644 (file)
@@ -182,11 +182,13 @@ static bool npt_enabled = true;
 #else
 static bool npt_enabled;
 #endif
-static int npt = 1;
 
+/* allow nested paging (virtualized MMU) for all guests */
+static int npt = true;
 module_param(npt, int, S_IRUGO);
 
-static int nested = 1;
+/* allow nested virtualization in KVM/SVM */
+static int nested = true;
 module_param(nested, int, S_IRUGO);
 
 static void svm_flush_tlb(struct kvm_vcpu *vcpu);