KVM: PPC: Pass program interrupt flags to the guest
authorAlexander Graf <agraf@suse.de>
Fri, 8 Jan 2010 01:58:09 +0000 (02:58 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:49 +0000 (12:35 -0300)
commitff1ca3f983c4180018dbf5e02f2af06f86ef6d03
tree86bfaefb5935a619024d823b71ceba11aaae6bf2
parentd35feb26ef7e9fbef7643051be5f0773662b1f91
KVM: PPC: Pass program interrupt flags to the guest

When we need to reinject a program interrupt into the guest, we also need to
reinject the corresponding flags into the guest.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c