diff options
| author | Thomas Huth <[email protected]> | 2016-05-19 11:33:31 +0200 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2016-06-20 14:11:25 +1000 |
| commit | b69890d18fa33a53cec6ae5c93555ee0c24fe0a9 (patch) | |
| tree | c67aa3cbe0695cd4ba5ff6716228ff7bd176e5de /tools/perf/scripts/python | |
| parent | 708e75a3ee750dce1072134e630d66c4e6eaf63c (diff) | |
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 <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions