summary refs log tree commit diff stats
path: root/hw/usb/dev-uas.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 /hw/usb/dev-uas.c
parent03834e22abafbc8dc4052d46a5ccd6dd135a54a3 (diff)
downloadfocaccia-qemu-9abf567d95a4e840df868ca993219175fbef8c22.tar.gz
focaccia-qemu-9abf567d95a4e840df868ca993219175fbef8c22.zip
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 'hw/usb/dev-uas.c')
0 files changed, 0 insertions, 0 deletions