Messages in this thread | | | From | Takuya Yoshikawa <> | Subject | [PATCH 0/2] KVM: x86: MMU: Clean up handle_mmio_page_fault() handling in kvm_mmu_page_fault() | Date | Mon, 22 Feb 2016 17:23:39 +0900 |
| |
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
| |