summaryrefslogtreecommitdiff
path: root/target-s390x/interrupt.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2012-07-23 21:37:04 +0000
committerAlexander Graf <agraf@suse.de>2012-08-15 17:47:09 +0200
commit9abf567d95a4e840df868ca993219175fbef8c22 (patch)
tree96a17a16305e08c755b883a04d0ad9b12ea321ee /target-s390x/interrupt.c
parent03834e22abafbc8dc4052d46a5ccd6dd135a54a3 (diff)
downloadqemu-9abf567d95a4e840df868ca993219175fbef8c22.tar.gz
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>
Diffstat (limited to 'target-s390x/interrupt.c')
0 files changed, 0 insertions, 0 deletions