public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Yang, Sheng" <sheng.yang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [RFC][PATCH 0/7]Enabling Extended Page Table(EPT) for VMX
Date: Fri, 1 Feb 2008 16:19:16 +0800	[thread overview]
Message-ID: <200802011619.17478.sheng.yang@intel.com> (raw)

Hi, Avi

Here is the patchset which enabling EPT for VMX. We tested it with 32e host, 
and it works well on Linux, Windows, also SMP with kernel build, though the X 
Window and windows need a patch for qemu to solve the dirty bitmap problem. 

The format of EPT entry is different from the page table, so we would create 
EPT page table separately. 

The patchset would support swap along with the mmu_notifier. But the patch of 
mmu_notifier is not stable in our test (with shadow), so we didn't test it 
with EPT. But the interface and the function has been in the patch, we can 
add the support easily when mmu_notifier is ready.

Any comments are welcome!

Here is the diffstat for kernel space:

 arch/x86/kvm/mmu.c         |   71 ++++++-
 arch/x86/kvm/svm.c         |    6 +
 arch/x86/kvm/vmx.c         |  489 
+++++++++++++++++++++++++++++++++++++++++++-
 arch/x86/kvm/vmx.h         |   26 +++
 arch/x86/kvm/x86.c         |    1 +
 include/asm-x86/kvm_host.h |   21 ++
 include/linux/kvm_host.h   |    1 +
 virt/kvm/kvm_main.c        |    3 +-
 8 files changed, 606 insertions(+), 12 deletions(-)

Here for userspace:

 qemu/hw/pc.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

-- 
Thanks
Yang, Sheng

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

             reply	other threads:[~2008-02-01  8:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01  8:19 Yang, Sheng [this message]
     [not found] ` <200802011619.17478.sheng.yang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2008-02-01  9:25   ` [RFC][PATCH 0/7]Enabling Extended Page Table(EPT) for VMX Avi Kivity

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=200802011619.17478.sheng.yang@intel.com \
    --to=sheng.yang-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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