virtio-ccw: use ccw data stream
commitf57ba05823b7c444133f0862077b45824a6a89b5
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Thu, 21 Sep 2017 18:08:39 +0000 (21 20:08 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 6 Oct 2017 08:53:01 +0000 (6 10:53 +0200)
tree6fd887f1d2c5dcf95c1f817a71c1a371ba1e2365
parent0a22eac5aaf90b2c2c1a4c29eecc25ef508d520b
virtio-ccw: use ccw data stream

Replace direct access which implicitly assumes no IDA
or MIDA with the new ccw data stream interface which should
cope with these transparently in the future.

Note that checking the return code for ccw_dstream_* will be
done in a follow-on patch.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170921180841.24490-4-pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/virtio-ccw.c