summaryrefslogtreecommitdiff
path: root/target-s390x/kvm.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-08-30 11:06:56 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2013-08-30 11:09:13 +0200
commit39fbc5c62ce83f34e7f5b62238305d83ce8b4489 (patch)
tree50d4f98e3fa1aa905d4a795bd0388ce1514783e9 /target-s390x/kvm.c
parentb5d54bd42158b90b239bb6ce9c13072eb3a53fd2 (diff)
downloadqemu-39fbc5c62ce83f34e7f5b62238305d83ce8b4489.zip
s390x/kvm: Fix switch/case indentation for handle_diag
This alignes case statements to switch statements in the handle_diag function as mandated by coding style. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x/kvm.c')
-rw-r--r--target-s390x/kvm.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 26d18e3bcf..ed80154e0d 100644
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -583,16 +583,16 @@ static int handle_diag(S390CPU *cpu, struct kvm_run *run, int ipb_code)
int r = 0;
switch (ipb_code) {
- case DIAG_KVM_HYPERCALL:
- r = handle_hypercall(cpu, run);
- break;
- case DIAG_KVM_BREAKPOINT:
- sleep(10);
- break;
- default:
- DPRINTF("KVM: unknown DIAG: 0x%x\n", ipb_code);
- r = -1;
- break;
+ case DIAG_KVM_HYPERCALL:
+ r = handle_hypercall(cpu, run);
+ break;
+ case DIAG_KVM_BREAKPOINT:
+ sleep(10);
+ break;
+ default:
+ DPRINTF("KVM: unknown DIAG: 0x%x\n", ipb_code);
+ r = -1;
+ break;
}
return r;