s390x/css: Refactor the css_queue_crw() routine
commitf6dde1b012e678aa64339520ef7519ec04026cf1
authorEric Farman <farman@linux.ibm.com>
Tue, 5 May 2020 12:57:56 +0000 (5 14:57 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 18 Jun 2020 10:13:54 +0000 (18 12:13 +0200)
tree5b37d9d44457771ea6b3569bbc8315d8994861b4
parent690e29b91102ac69810b35fe72cd90bc9fa1fff7
s390x/css: Refactor the css_queue_crw() routine

We have a use case (vfio-ccw) where a CRW is already built and
ready to use.  Rather than teasing out the components just to
reassemble it later, let's rework this code so we can queue a
fully-qualified CRW directly.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200505125757.98209-6-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/css.c
include/hw/s390x/css.h