From 359507eed1b6d8ae2392e0c8fe32d5f0de9d1d75 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 29 Mar 2011 15:29:30 +0200 Subject: 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 CC: Jan Kiszka Signed-off-by: Aurelien Jarno --- target-s390x/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 9123203..ae7dc56 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) -- cgit v1.1