vfio/ccw: create a parent struct
authorEric Farman <farman@linux.ibm.com>
Fri, 4 Nov 2022 14:20:01 +0000 (15:20 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 10 Nov 2022 18:11:25 +0000 (11:11 -0700)
commit9e6f07cd1eaa72c41719050c5ca9d22a8c0b7c02
tree07ba6954a14a49d1f70080f89810a0d7d57fbd50
parentf38044e5ef58ad0346fdabd7027ea5c1e1a3b624
vfio/ccw: create a parent struct

Move the stuff associated with the mdev parent (and thus the
subchannel struct) into its own struct, and leave the rest in
the existing private structure.

The subchannel will point to the parent, and the parent will point
to the private, for the areas where one or both are needed. Further
separation of these structs will follow.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Link: https://lore.kernel.org/r/20221104142007.1314999-2-farman@linux.ibm.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/s390/cio/vfio_ccw_drv.c
drivers/s390/cio/vfio_ccw_ops.c
drivers/s390/cio/vfio_ccw_private.h