When ept is enabled, we aren't particularly interested in cr4.pge, so allow
the guest to own it.  This improves performance in vmap() intensive loads.

Avi Kivity (4):
  KVM: VMX: Move some cr[04] related constants to vmx.c
  KVM: Add accessor for reading cr4 (or some bits of cr4)
  KVM: VMX: Make guest cr4 mask more conservative
  KVM: VMX: When using ept, allow the guest to own cr4.pge

 arch/x86/include/asm/kvm_host.h |   14 +-------------
 arch/x86/kvm/kvm_cache_regs.h   |   12 ++++++++++++
 arch/x86/kvm/mmu.h              |    5 +++--
 arch/x86/kvm/vmx.c              |   32 ++++++++++++++++++++++++++------
 arch/x86/kvm/x86.c              |   16 ++++++----------
 5 files changed, 48 insertions(+), 31 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to