s390x/css: Don't save orb in subchannel.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 11 Feb 2014 15:23:32 +0000 (16:23 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 7 May 2014 08:17:35 +0000 (10:17 +0200)
commit56bf1a8e90e76701428885656743515af53f19ef
tree351fd3904ed64c91fbd947590f7d9e247595981d
parentc4400206d43b6a235299c7047cca0af93269fc03
s390x/css: Don't save orb in subchannel.

Current css code saves the operation request block (orb) in the
subchannel structure for later consumption by the start function
handler. This might make sense for asynchronous execution of the
start function (which qemu doesn't support), but not in our case;
it would even be wrong since orb contains a reference to a local
variable in the base ssch handler.

Let's just pass the orb through the start function call chain for
ssch; for rsch, we can pass NULL as the backend function does not
use any information passed via the orb there.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/css.c
hw/s390x/css.h
hw/s390x/virtio-ccw.c