vfio/fsl-mc: Implement VFIO_DEVICE_GET_REGION_INFO ioctl call
authorDiana Craciun <diana.craciun@oss.nxp.com>
Mon, 5 Oct 2020 17:36:48 +0000 (20:36 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 12 Oct 2020 17:32:24 +0000 (11:32 -0600)
commitdf747bcd5b216dae7be26945fab2558ed2f7f363
tree3b8fe3851102adbb9803dd0c66152cf9ae424d8e
parentf97f4c04e5d6ca8b90b5b412bd7e72de79426263
vfio/fsl-mc: Implement VFIO_DEVICE_GET_REGION_INFO ioctl call

Expose to userspace information about the memory regions.

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/fsl-mc/vfio_fsl_mc.c
drivers/vfio/fsl-mc/vfio_fsl_mc_private.h