aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2011-05-04 10:30:12 +0200
committerAlexander Graf <agraf@suse.de>2011-05-20 17:35:13 +0200
commita74cdab44d6d7a5077991bd2c8b426c2978a80da (patch)
treecc37adc4c89602ce9c32b8db67369f3489fbee7a
parent0f3301d406bb84def304bcdce833629fd7d2858a (diff)
downloadqemu-a74cdab44d6d7a5077991bd2c8b426c2978a80da.zip
qemu-a74cdab44d6d7a5077991bd2c8b426c2978a80da.tar.gz
qemu-a74cdab44d6d7a5077991bd2c8b426c2978a80da.tar.bz2
s390x: Fix debugging for unknown sigp order codes
On unknown sigp order codes we print a debug message. This patch fixes the output, since we want to see the order_code and not the register numbers. Patch applies on agraf tree. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--target-s390x/kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index c927e61..4beb794 100644
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -377,7 +377,7 @@ static int handle_sigp(CPUState *env, struct kvm_run *run, uint8_t ipa1)
r = s390_cpu_initial_reset(target_env);
break;
default:
- fprintf(stderr, "KVM: unknown SIGP: 0x%x\n", ipa1);
+ fprintf(stderr, "KVM: unknown SIGP: 0x%x\n", order_code);
break;
}