qemu/target-s390x
Christian Borntraeger 97ac3b1af5 s390: Fix error handling and condition code of service call
Invalid sccb addresses will cause specification or addressing exception.
Lets add those checks. Furthermore, the good case (cc=0) was incorrect
for KVM, we did not set the CC at all. We now use return codes < 0
as program checks and return codes > 0 as condition code values.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
(cherry picked from commit 9abf567d95)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2012-08-21 15:36:34 -05:00
..
cpu-qom.h target-s390x: QOM'ify CPU 2012-04-04 17:29:23 +02:00
cpu.c target-s390x: Update s390x_{tod,cpu}_timer() to use S390CPU 2012-04-04 19:06:17 +02:00
cpu.h target-s390x: QOM'ify CPU init 2012-04-04 17:35:31 +02:00
helper.c target-s390x: Update s390x_{tod,cpu}_timer() to use S390CPU 2012-04-04 19:06:17 +02:00
helper.h Move helpers.h to helper.h 2012-03-05 19:51:18 +01:00
kvm.c s390: Fix error handling and condition code of service call 2012-08-21 15:36:34 -05:00
machine.c Add support for S390x system emulation 2009-12-05 17:36:05 +01:00
op_helper.c s390: Fix error handling and condition code of service call 2012-08-21 15:36:34 -05:00
translate.c target-s390x: Don't overuse CPUState 2012-03-14 22:20:25 +01:00