Patchwork s390x: Fix debugging for unknown sigp order codes

login
register
mail settings
Submitter Christian Borntraeger
Date May 4, 2011, 8:30 a.m.
Message ID <4DC10E94.7030608@de.ibm.com>
Download mbox | patch
Permalink /patch/93992/
State New
Headers show

Comments

Christian Borntraeger - May 4, 2011, 8:30 a.m.
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>
 
---
 target-s390x/kvm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Alexander Graf - May 4, 2011, 8:34 a.m.
On 04.05.2011, at 10:30, Christian Borntraeger wrote:

> 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>

Thanks, applied to my local tree.


Alex

Patch

Index: b/target-s390x/kvm.c
===================================================================
--- a/target-s390x/kvm.c
+++ 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;
     }