summaryrefslogtreecommitdiffstats
path: root/lib/lcm.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 11:00:34 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 12:34:56 +0300
commitc8c0b6f2f7db22a340f1311602182a25a2378996 (patch)
tree479571debbf03831a804a6e8cbc3ba4c986af1df /lib/lcm.c
parentd6d549b20776c937cb4717b24ef05baec4768f99 (diff)
KVM: PPC: Combine extension interrupt handlers
When we for example get an Altivec interrupt, but our guest doesn't support altivec, we need to inject a program interrupt, not an altivec interrupt. The same goes for paired singles. When an altivec interrupt arrives, we're pretty sure we need to emulate the instruction because it's a paired single operation. So let's make all the ext handlers aware that they need to jump to the program interrupt handler when an extension interrupt arrives that was not supposed to arrive for the guest CPU. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions