Skip to content

Commit

Permalink
KVM: SVM: comment nested paging and virtualization module parameters
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Davidlohr Bueso authored and Avi Kivity committed Mar 5, 2012
1 parent e4b35cc commit e235885
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e235885

Please sign in to comment.