summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/paging_tmpl.h
diff options
context:
space:
mode:
authorBandan Das <bsd@redhat.com>2016-07-13 00:18:49 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-14 09:03:14 +0200
commitffb128c89b77b44da18ccf51844a8e750e2c427a (patch)
tree2343268f9b507a99abf34bf20d99b1158488b67e /arch/x86/kvm/paging_tmpl.h
parentkvm: mmu: remove is_present_gpte() (diff)
downloadlinux-ffb128c89b77b44da18ccf51844a8e750e2c427a.tar.xz
linux-ffb128c89b77b44da18ccf51844a8e750e2c427a.zip
kvm: mmu: don't set the present bit unconditionally
To support execute only mappings on behalf of L1 hypervisors, we need to teach set_spte() to honor all three of L1's XWR bits. As a start, add a new variable "shadow_present_mask" that will be set for non-EPT shadow paging and clear for EPT. Signed-off-by: Bandan Das <bsd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions