提交 e2358851 编写于 作者: D Davidlohr Bueso 提交者: Avi Kivity

KVM: SVM: comment nested paging and virtualization module parameters

Also use true instead of 1 for enabling by default.
Signed-off-by: NDavidlohr Bueso <dave@gnu.org>
Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 e4b35cc9
...@@ -182,11 +182,13 @@ static bool npt_enabled = true; ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册