]> 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)
commitd845588e318a8cca77e19c165f1774da49fba193
treeb8da141e846c9d25fbe4c69b12582cada03726e3
parentaec3387b037c271036c637f8469830ab1d7c5231
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