lkml.org 
[lkml]   [2016]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] KVM: x86: MMU: Clean up handle_mmio_page_fault() handling in kvm_mmu_page_fault()
Date
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



\
 
 \ /
  Last update: 2016-02-22 10:01    [W:0.157 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site