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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html