[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 03/19] s390x: fix KVM target
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 03/19] s390x: fix KVM target |
Date: |
Tue, 29 Mar 2011 15:29:30 +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 <address@hidden>
CC: Jan Kiszka <address@hidden>
---
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 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)
--
1.6.0.2
- [Qemu-devel] [PATCH 00/19] s390x emulation support, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 01/19] Only build ivshmem when CONFIG_PCI && CONFIG_KVM, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 05/19] s390x: Enable disassembler for s390x, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 02/19] virtio: use generic name when possible, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 11/19] s390x: Dispatch interrupts to KVM or the real CPU, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 17/19] s390x: Adjust internal kvm code, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 06/19] s390x: Enable nptl for s390x, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 13/19] s390x: virtio machine storage keys, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 09/19] linux-user: define a couple of syscalls for non-uid16 targets, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 12/19] s390x: Adjust GDB stub, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 03/19] s390x: fix KVM target,
Alexander Graf <=
- [Qemu-devel] [PATCH 04/19] s390x: fix s390-virtio-serial, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 10/19] s390x: Enable s390x-softmmu target, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 14/19] s390x: Prepare cpu.h for emulation, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 15/19] s390x: helper functions for system emulation, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 07/19] s390x: enable CPU_QuadU, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 19/19] s390x: build s390x by default, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 08/19] s390x: s390x-linux-user support, Alexander Graf, 2011/03/29
- [Qemu-devel] [PATCH 16/19] s390x: Implement opcode helpers, Alexander Graf, 2011/03/29