vfio-ccw: add some logging
authorCornelia Huck <cohuck@redhat.com>
Thu, 15 Aug 2019 11:53:41 +0000 (13:53 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 23 Aug 2019 10:53:32 +0000 (12:53 +0200)
commit60e05d1cf0875f0cf73472f7dff71d9933c5b697
treeac40057f062cc9fe775c0268f8e695bffcf46a2e
parent416f79c23dbe47e0e223efc06d3487e1d90a92ee
vfio-ccw: add some logging

Usually, the common I/O layer logs various things into the s390
cio debug feature, which has been very helpful in the past when
looking at crash dumps. As vfio-ccw devices unbind from the
standard I/O subchannel driver, we lose some information there.

Let's introduce some vfio-ccw debug features and log some things
there. (Unfortunately we cannot reuse the cio debug feature from
a module.)

Message-Id: <20190816151505.9853-2-cohuck@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/cio/vfio_ccw_drv.c
drivers/s390/cio/vfio_ccw_fsm.c
drivers/s390/cio/vfio_ccw_ops.c
drivers/s390/cio/vfio_ccw_private.h