]> asedeno.scripts.mit.edu Git - linux.git/commit
vfio: ccw: register vfio_ccw to the mediated device framework
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Fri, 17 Mar 2017 03:17:33 +0000 (04:17 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 31 Mar 2017 10:55:06 +0000 (12:55 +0200)
commit84cd8fc48478b5e67b3f1600717299e11430a67e
treea6654495414878b703656bb97c0557746d4b00ed
parent0a19e61e6d4c6192077ead760ba0a2d350987d4c
vfio: ccw: register vfio_ccw to the mediated device framework

To make vfio support subchannel devices, we need to leverage the
mediated device framework to create a mediated device for the
subchannel device.

This registers the subchannel device to the mediated device
framework during probe to enable mediated device creation.

Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170317031743.40128-7-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/Kconfig
drivers/s390/cio/Makefile
drivers/s390/cio/vfio_ccw_drv.c
drivers/s390/cio/vfio_ccw_ops.c [new file with mode: 0644]
drivers/s390/cio/vfio_ccw_private.h