KVM: MMU: Propagate the right fault back to the guest after gva_to_gpa
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:55 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:40 +0000 (10:52 +0200)
commitd4f8cf664e4c1fd579df6b6e6378335c9f79d790
treee5f5ce71daa78ebf2bae27d355f1e9a11d59ef77
parent02f59dc9f1f51d2148d87d48f84adb455a4fd697
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c