提交 359507ee 编写于 作者: A Alexander Graf 提交者: Aurelien Jarno

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: NAlexander Graf <agraf@suse.de>
CC: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 29f82b37
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册