vfio-mdev: Make mdev_device private and abstract interfaces
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 30 Dec 2016 15:13:44 +0000 (08:13 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 30 Dec 2016 15:13:44 +0000 (08:13 -0700)
commit99e3123e3d72616a829dad6d25aa005ef1ef9b13
tree691b36439a737eb0679e3544e3401335d7efda4e
parent9372e6feaafb65d88f667ffb5b7b425f8568344f
vfio-mdev: Make mdev_device private and abstract interfaces

Abstract access to mdev_device so that we can define which interfaces
are public rather than relying on comments in the structure.

Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Jike Song <jike.song@intel.com>
Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
drivers/gpu/drm/i915/gvt/kvmgt.c
drivers/vfio/mdev/mdev_core.c
drivers/vfio/mdev/mdev_private.h
include/linux/mdev.h
samples/vfio-mdev/mtty.c