]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: cache mmio info on page fault path
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:23:20 +0000 (03:23 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:26 +0000 (11:50 +0300)
commit284b0d22653c6a7980de7d9d58572addcbf832ac
treeb8da141e846c9d25fbe4c69b12582cada03726e3
parentab12ac4582238c3dbd437f4892b42d6b036ca106
KVM: MMU: cache mmio info on page fault path

If the page fault is caused by mmio, we can cache the mmio info, later, we do
not need to walk guest page table and quickly know it is a mmio fault while we
emulate the mmio instruction

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h
arch/x86/kvm/paging_tmpl.h
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h