mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-18 01:08:51 +00:00
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>
This commit is contained in:
parent
b5d54bd421
commit
39fbc5c62c
@ -583,16 +583,16 @@ static int handle_diag(S390CPU *cpu, struct kvm_run *run, int ipb_code)
|
|||||||
int r = 0;
|
int r = 0;
|
||||||
|
|
||||||
switch (ipb_code) {
|
switch (ipb_code) {
|
||||||
case DIAG_KVM_HYPERCALL:
|
case DIAG_KVM_HYPERCALL:
|
||||||
r = handle_hypercall(cpu, run);
|
r = handle_hypercall(cpu, run);
|
||||||
break;
|
break;
|
||||||
case DIAG_KVM_BREAKPOINT:
|
case DIAG_KVM_BREAKPOINT:
|
||||||
sleep(10);
|
sleep(10);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DPRINTF("KVM: unknown DIAG: 0x%x\n", ipb_code);
|
DPRINTF("KVM: unknown DIAG: 0x%x\n", ipb_code);
|
||||||
r = -1;
|
r = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
Loading…
Reference in New Issue
Block a user