]> git.proxmox.com Git - qemu.git/commit
s390: Fix error handling and condition code of service call
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 23 Jul 2012 21:37:04 +0000 (21:37 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 15 Aug 2012 15:47:09 +0000 (17:47 +0200)
commit9abf567d95a4e840df868ca993219175fbef8c22
tree96a17a16305e08c755b883a04d0ad9b12ea321ee
parent03834e22abafbc8dc4052d46a5ccd6dd135a54a3
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>
target-s390x/kvm.c
target-s390x/op_helper.c