diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 11b06251e42e..af02d9dbd951 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -634,7 +634,12 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
634 | 634 | ||
635 | switch (exit_nr) { | 635 | switch (exit_nr) { |
636 | case BOOKE_INTERRUPT_MACHINE_CHECK: | 636 | case BOOKE_INTERRUPT_MACHINE_CHECK: |
637 | r = RESUME_GUEST; | 637 | printk("MACHINE CHECK: %lx\n", mfspr(SPRN_MCSR)); |
638 | kvmppc_dump_vcpu(vcpu); | ||
639 | /* For debugging, send invalid exit reason to user space */ | ||
640 | run->hw.hardware_exit_reason = ~1ULL << 32; | ||
641 | run->hw.hardware_exit_reason |= mfspr(SPRN_MCSR); | ||
642 | r = RESUME_HOST; | ||
638 | break; | 643 | break; |
639 | 644 | ||
640 | case BOOKE_INTERRUPT_EXTERNAL: | 645 | case BOOKE_INTERRUPT_EXTERNAL: |