]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: booke: deliver program int on emulation failure
authorAlexander Graf <agraf@suse.de>
Thu, 16 Feb 2012 13:24:03 +0000 (13:24 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:55:03 +0000 (12:55 +0300)
commitd1ff54992d3008f4253ab3176913bb85d770e935
tree2a295950753d1b306c978febf13ced46fbf47025
parentacab05290696db0a5431a9ad171be649ab56e87b
KVM: PPC: booke: deliver program int on emulation failure

When we fail to emulate an instruction for the guest, we better go in and
tell it that we failed to emulate it, by throwing an illegal instruction
exception.

Please beware that we basically never get around to telling the guest that
we failed thanks to the debugging code right above it. If user space however
decides that it wants to ignore the debug, we would at least do "the right
thing" afterwards.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/booke.c