s390x/css: be more consistent if broken beyond repair
commit9ea63c05d90ba85d819f9b2472ce6dfba7a403b4
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Wed, 4 Oct 2017 15:41:37 +0000 (4 17:41 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 20 Oct 2017 11:32:10 +0000 (20 13:32 +0200)
treebb574e7221b381f0e91253282afc2cd1496310df
parent96f64aa8789451fc36396d848f397651fb999efb
s390x/css: be more consistent if broken beyond repair

Calling do_subchannel_work with no function control flags set in SCSW is
a programming error. Currently we handle this differently in
do_subchannel_work_virtual and do_subchannel_work_passthrough. Let's be
consistent and guard with a common assert against this programming error.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Message-Id: <20171004154144.88995-2-pasic@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/css.c