]> git.proxmox.com Git - qemu.git/commitdiff
s390x: fix KVM target
authorAlexander Graf <agraf@suse.de>
Tue, 29 Mar 2011 13:29:30 +0000 (15:29 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 3 Apr 2011 22:34:10 +0000 (00:34 +0200)
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>
target-s390x/kvm.c

index 91232038ea7334eac9e5086369e01d92b26b477b..ae7dc561b3d4ea31f2f59a04606536c7a1ab7058 100644 (file)
@@ -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)