From: Davidlohr Bueso Date: Tue, 17 Jan 2012 13:09:50 +0000 (+0100) Subject: KVM: SVM: comment nested paging and virtualization module parameters X-Git-Tag: upstream/snapshot3+hdmi~7836^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2358851efbcdc34583ee11971a6e4d587ea8bf9;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git KVM: SVM: comment nested paging and virtualization module parameters Also use true instead of 1 for enabling by default. Signed-off-by: Davidlohr Bueso Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index fce3ba0..7bbd17c 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -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);