]> bbs.cooldavid.org Git - net-next-2.6.git/commit
KVM: x86 emulator: do not inject exception directly into vcpu
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:44 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:37 +0000 (10:35 +0300)
commit54b8486f469475d6c8e8aec917b91239a54eb8c8
treea619826dc8e4915fcf308f3514a43615345e077a
parent95cb229530f329ec8002274891793be9c91385f7
KVM: x86 emulator: do not inject exception directly into vcpu

Return exception as a result of instruction emulation and handle
injection in KVM code.

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