From: Marcelo Tosatti <mtosatti@redhat.com>
To: Davidlohr Bueso <dave@gnu.org>
Cc: Avi Kivity <avi@redhat.com>, KVM <kvm@vger.kernel.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] KVM: SVM: comment nested paging and virtualization module parameters
Date: Mon, 16 Jan 2012 08:22:02 -0200 [thread overview]
Message-ID: <20120116102202.GC7937@amt.cnet> (raw)
In-Reply-To: <1326462716.3231.5.camel@offbook>
On Fri, Jan 13, 2012 at 02:51:56PM +0100, Davidlohr Bueso wrote:
> From: Davidlohr Bueso <dave@gnu.org>
>
> Also use true instead of 1 for enabling by default.
>
> Signed-off-by: Davidlohr Bueso <dave@gnu.org>
> ---
> arch/x86/kvm/svm.c | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
> index 5fa553b..3c9b0dc 100644
> --- a/arch/x86/kvm/svm.c
> +++ b/arch/x86/kvm/svm.c
> @@ -176,11 +176,13 @@ static bool npt_enabled = true;
> #else
> static bool npt_enabled;
> #endif
> -static int npt = 1;
>
> +/* disable nested paging (virtualized MMU) for all guests */
> +static int npt = true;
> module_param(npt, int, S_IRUGO);
Should be "allow nested paging"...
> -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);
prev parent reply other threads:[~2012-01-16 10:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-13 13:51 [PATCH] KVM: SVM: comment nested paging and virtualization module parameters Davidlohr Bueso
2012-01-16 10:22 ` Marcelo Tosatti [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120116102202.GC7937@amt.cnet \
--to=mtosatti@redhat.com \
--cc=avi@redhat.com \
--cc=dave@gnu.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox