KVM: X86: Propagate fetch faults
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:56 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:41 +0000 (10:52 +0200)
commitd47f00a62b2e14b4a811b87bdb9ea1809693a377
tree85f0697d0714818c8f0d92047905782f275c9ce3
parentd4f8cf664e4c1fd579df6b6e6378335c9f79d790
KVM: X86: Propagate fetch faults

KVM currently ignores fetch faults in the instruction
emulator. With nested-npt we could have such faults. This
patch adds the code to handle these.

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