Skip to content

Commit

Permalink
s390x: fix KVM target
Browse files Browse the repository at this point in the history
During Jan's rework of the generic KVM layer, he added some more error checks
and actually aborted if something went wrong. Unfortunately, one of the s390
internal error codes slipped through, aborting the VM without needing to.

This patch fixes booting of S390x virtual machines in KVM.

Signed-off-by: Alexander Graf <agraf@suse.de>
CC: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  • Loading branch information
agraf authored and aurel32 committed Apr 3, 2011
1 parent 29f82b3 commit 359507e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-s390x/kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ static int handle_instruction(CPUState *env, struct kvm_run *run)
if (r < 0) {
enter_pgmcheck(env, 0x0001);
}
return r;
return 0;
}

static int handle_intercept(CPUState *env)
Expand Down

0 comments on commit 359507e

Please sign in to comment.