]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74c6bfd8c5deaa85259a84694a9b86d61cb768ad
treedcd8b2a739541463cb1b93074bce5968bdb1a288
parentc0679884374c3e237b5a3c4a78ec2e8bd109346f
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