KVM: do not inject #PF in (read|write)_emulated() callbacks
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:37 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:34 +0000 (10:35 +0300)
commit8fe681e984b6505d4d12125c0776399304803ec7
treedcd8b2a739541463cb1b93074bce5968bdb1a288
parentf181b96d4c769b8915849eb9070c18116fd8d44e
KVM: do not inject #PF in (read|write)_emulated() callbacks

Return error to x86 emulator instead of injection exception behind its back.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c