Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2358851 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Avi Kivity
Browse files

KVM: SVM: comment nested paging and virtualization module parameters



Also use true instead of 1 for enabling by default.

Signed-off-by: default avatarDavidlohr Bueso <dave@gnu.org>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent e4b35cc9
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -182,11 +182,13 @@ static bool npt_enabled = true;
#else
#else
static bool npt_enabled;
static bool npt_enabled;
#endif
#endif
static int npt = 1;


/* allow nested paging (virtualized MMU) for all guests */
static int npt = true;
module_param(npt, int, S_IRUGO);
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);
module_param(nested, int, S_IRUGO);


static void svm_flush_tlb(struct kvm_vcpu *vcpu);
static void svm_flush_tlb(struct kvm_vcpu *vcpu);