[PATCH 0/2] KVM: x86: MMU: Clean up handle_mmio_page_fault() handling in kvm_mmu_page_fault()
From: Takuya Yoshikawa
Date: Mon Feb 22 2016 - 03:12:52 EST
The end result is very similar to handle_ept_misconfig()'s corresponding code.
It may also be possible to change handle_ept_misconfig() not to call
handle_mmio_page_fault() separately from kvm_mmu_page_fault():
the only difference seems to be whether it checks for PFERR_RSVD_MASK.
Takuya Yoshikawa (2):
KVM: MMU: Consolidate quickly_check_mmio_pf() and is_mmio_page_fault()
KVM: MMU: Move handle_mmio_page_fault() call to kvm_mmu_page_fault()
arch/x86/kvm/mmu.c | 54 +++++++++++++++++-----------------------------
arch/x86/kvm/paging_tmpl.h | 19 ++++++----------
2 files changed, 26 insertions(+), 47 deletions(-)
--
2.1.0