KVM: Move page fault processing to common code
authorAvi Kivity <avi@qumranet.com>
Sun, 28 Oct 2007 16:48:59 +0000 (18:48 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:57 +0000 (17:52 +0200)
commit3067714cf59bd4a6dbf788b709485bc62c1ff845
tree4cdfba475258886666150e638568e6ad5e8c0e2f
parentc7e75a3db4ecd952e7a5562cea1b27007bf0c01c
KVM: Move page fault processing to common code

The code that dispatches the page fault and emulates if we failed to map
is duplicated across vmx and svm.  Merge it to simplify further bugfixing.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c
drivers/kvm/svm.c
drivers/kvm/vmx.c
drivers/kvm/x86.h