diff options
author | Alexander Graf <agraf@suse.de> | 2011-03-29 15:29:30 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-04 00:34:10 +0200 |
commit | 359507eed1b6d8ae2392e0c8fe32d5f0de9d1d75 (patch) | |
tree | b0f3bb86b355be6a2c6e485cc9e0a3230c8115af /target-s390x | |
parent | 29f82b37e5341b96e514373854411c4fcb935fc0 (diff) |
s390x: fix KVM target
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>
Diffstat (limited to 'target-s390x')
-rw-r--r-- | target-s390x/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 91232038ea..ae7dc561b3 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -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) |