From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bandan Das Subject: [RFC PATCH 0/4] Add support for EPT execute only for nested hypervisors Date: Mon, 20 Jun 2016 23:12:22 -0400 Message-ID: <1466478746-14153-1-git-send-email-bsd@redhat.com> Cc: pbonzini@redhat.com, guangrong.xiao@linux.intel.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44616 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753136AbcFUDPL (ORCPT ); Mon, 20 Jun 2016 23:15:11 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 2.5.5