s390x: refactor error handling for MSCH handler
commit6bb6f19473e2f28334bed14740d64afb6cb6a4e5
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Tue, 17 Oct 2017 14:04:53 +0000 (17 16:04 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 20 Oct 2017 11:32:10 +0000 (20 13:32 +0200)
treefa85fa9f1c1508ff7e635faba36290fcfce9a2a5
parentae9f1be3bd99cbc5b029082c5e52a24222b4fb66
s390x: refactor error handling for MSCH handler

Simplify the error handling of the MSCH.  Let the code detecting the
condition tell (in a less ambiguous way) how it's to be handled. No
changes in behavior.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Message-Id: <20171017140453.51099-8-pasic@linux.vnet.ibm.com>
[CH: fix return code for fctl != 0]
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/css.c
include/hw/s390x/css.h
target/s390x/ioinst.c