KVM: MMU: Introduce inject_page_fault function pointer
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:43 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:31 +0000 (10:52 +0200)
commitcb659db8a7d1ed558898f533a957dfc342f9499d
tree706528d7eb311f956cadcc50e666012ef59d8ada
parent5777ed340d89cdc6c76a5c552337a3861b40a806
KVM: MMU: Introduce inject_page_fault function pointer

This patch introduces an inject_page_fault function pointer
into struct kvm_mmu which will be used to inject a page
fault. This will be used later when Nested Nested Paging is
implemented.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c