Thomas Huth b69890d18f KVM: PPC: Book3S PR: Fix contents of SRR1 when injecting a program exception
vcpu->arch.shadow_srr1 only contains usable values for injecting
a program exception into the guest if we entered the function
kvmppc_handle_exit_pr() with exit_nr == BOOK3S_INTERRUPT_PROGRAM.
In other cases, the shadow_srr1 bits are zero. Since we want to
pass an illegal-instruction program check to the guest, set
"flags" to SRR1_PROGILL for these other cases.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-06-20 14:11:25 +10:00
..
2016-05-20 10:12:41 -07:00
2014-09-24 14:07:58 +02:00
2014-09-22 10:11:32 +02:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2015-04-08 10:46:58 +02:00
2014-07-28 19:29:15 +02:00
2014-07-28 19:29:15 +02:00
2016-01-15 17:56:32 -08:00