]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde3b28e73c2e45d2ff4bc344f57b9ebb9ca7e84b
tree691b36439a737eb0679e3544e3401335d7efda4e
parent3cb4fe6fbfd80d8b916ae8a3d1024cab2f484886
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