summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorJoerg Roedel2010-09-10 17:30:55 +0200
committerAvi Kivity2010-10-24 10:52:40 +0200
commitd4f8cf664e4c1fd579df6b6e6378335c9f79d790 (patch)
treee5f5ce71daa78ebf2bae27d355f1e9a11d59ef77 /arch/x86/include/asm/kvm_host.h
parentKVM: MMU: Introduce init_kvm_nested_mmu() (diff)
downloadkernel-qcow2-linux-d4f8cf664e4c1fd579df6b6e6378335c9f79d790.tar.gz
kernel-qcow2-linux-d4f8cf664e4c1fd579df6b6e6378335c9f79d790.tar.xz
kernel-qcow2-linux-d4f8cf664e4c1fd579df6b6e6378335c9f79d790.zip
KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa
This patch implements logic to make sure that either a page-fault/page-fault-vmexit or a nested-page-fault-vmexit is propagated back to the guest. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 08bc383083ff..574db6d1532a 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -660,6 +660,7 @@ void kvm_inject_page_fault(struct kvm_vcpu *vcpu);
int kvm_read_guest_page_mmu(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu,
gfn_t gfn, void *data, int offset, int len,
u32 access);
+void kvm_propagate_fault(struct kvm_vcpu *vcpu);
bool kvm_require_cpl(struct kvm_vcpu *vcpu, int required_cpl);
int kvm_pic_set_irq(void *opaque, int irq, int level);