]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KVM: SVM: enable nested svm by default
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:48 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 07:46:38 +0000 (10:46 +0300)
Nested SVM is (in my experience) stable enough to be enabled by
default. So omit the requirement to pass a module parameter.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c

index 6610f60b4c96575dfcf530273bc425e2de94cf41..8f7751a66a2b6f8a8f8c4f531761885ac932eccc 100644 (file)
@@ -124,7 +124,7 @@ static int npt = 1;
 
 module_param(npt, int, S_IRUGO);
 
-static int nested = 0;
+static int nested = 1;
 module_param(nested, int, S_IRUGO);
 
 static void svm_flush_tlb(struct kvm_vcpu *vcpu);