Skip to contentSkip to conversation

s390x: Fix debugging for unknown sigp order codes

PATCH In review Christian Borntraeger 2 participants 2 messages May 4, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 target-s390x/kvm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-s390x/kvm.c +1 -1
Index: b/target-s390x/kvm.c
===================================================================
@@ -377,7 +377,7 @@ static int handle_sigp(CPUState *env, st
             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;
     }
 
#1 lore raw
Quoted 6 lines · Christian Borntraeger

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.

Thanks, applied to my local tree.

Alex