Skip to content

RFC Add support for EPT execute only for nested hypervisors

Bandan Das kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mmu: add a boolean to indicate host ept execute only supportarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/vmx.c +1 more+9 -40 replies
2/4mmu: Update ept specific valid bit valuesarch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+10 -22 replies
3/4mmu: don't set the present bit unconditionallyarch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+9 -47 replies
4/4vmx: advertise support for ept execute onlyarch/x86/kvm/vmx.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] Add support for EPT execute only for nested hypervisors

I spoke to Paolo about this a while back and thought to post this as RFC while I am thinking of adding some unit tests.

Background: ESX refuses to run as L1 if support for EPT execute only isn't found. I am not really sure if it uses it for anything since just advertising the bits seems to work but adding the necessary plumbing seemed like a good idea.

Xiao, I took the liberty of adding you based on "git blame" :)

Thanks in advance.

Bandan Das (4):
mmu: add a boolean to indicate host ept execute only support
mmu: Update ept specific valid bit values
mmu: don't set the present bit unconditionally
vmx: advertise support for ept execute only

 arch/x86/include/asm/kvm_host.h |  2 +-
 arch/x86/kvm/mmu.c              | 22 +++++++++++++++++-----
 arch/x86/kvm/paging_tmpl.h      |  9 +++++++--
 arch/x86/kvm/vmx.c              |  5 ++++-
 arch/x86/kvm/x86.c              |  2 +-
 5 files changed, 30 insertions(+), 10 deletions(-)
Signature · 1 line
2.5.5