All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Taowei Luo <uaedante@gmail.com>, kvm@vger.kernel.org
Subject: Re: How to use shadow page in KVM?
Date: Sun, 08 Mar 2015 13:46:02 +0100	[thread overview]
Message-ID: <54FC448A.6040309@redhat.com> (raw)
In-Reply-To: <CAGokyTZog-L1d3+CJ2d6FUCJLvHNjmqK63mupg9MfDxQ22yJpw@mail.gmail.com>



On 08/03/2015 09:54, Taowei Luo wrote:
> Hello everyone!
> 
> I am trying to make a comparison between several paging modes in
> virtualization. (hardware assisted paging and shadow paging
> especially)
> 
> But just failed on using shadow page in virtual machines managed by KVM.
> 
> In my experiments, HAP is used by default. It can't be disabled or
> switches to shadow page by simply removing the kvm-intel module or
> calling kvm_disable_tdp(). So I am asking for help and suggestions.

Load the kvm-intel module with the ept=0 parameter.

Paolo

  reply	other threads:[~2015-03-08 12:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-08  8:54 How to use shadow page in KVM? Taowei Luo
2015-03-08 12:46 ` Paolo Bonzini [this message]
2015-03-09  2:06   ` Taowei Luo

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=54FC448A.6040309@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=uaedante@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.