KVM: PPC: Enable program interrupt to do MMIO
authorAlexander Graf <agraf@suse.de>
Fri, 19 Feb 2010 10:00:43 +0000 (11:00 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:35:24 +0000 (12:35 +0300)
commite5c29e926cd29444d76657398801d49119851a56
tree0863e5d85108c3965419ee9eeb68f6925c97faa2
parent0564ee8a8611326f28bae2a0455182b458826762
KVM: PPC: Enable program interrupt to do MMIO

When we get a program interrupt we usually don't expect it to perform an
MMIO operation. But why not? When we emulate paired singles, we can end
up loading or storing to an MMIO address - and the handling of those
happens in the program interrupt handler.

So let's teach the program interrupt handler how to deal with EMULATE_MMIO.

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