summaryrefslogtreecommitdiff
path: root/Documentation/vfio-mediated-device.txt
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2016-12-30 18:13:41 +0300
committerAlex Williamson <alex.williamson@redhat.com>2016-12-30 18:13:41 +0300
commit9372e6feaafb65d88f667ffb5b7b425f8568344f (patch)
tree2fa165cb84cc92d297d283f4fe171b045dcbeb61 /Documentation/vfio-mediated-device.txt
parent42930553a7c11f06351bc08b889808d0f6020f08 (diff)
downloadlinux-9372e6feaafb65d88f667ffb5b7b425f8568344f.tar.xz
vfio-mdev: Make mdev_parent private
Rather than hoping for good behavior by marking some elements internal, enforce it by making the entire structure private and creating an accessor function for the one useful external field. Cc: Zhenyu Wang <zhenyuw@linux.intel.com> Cc: Zhi Wang <zhi.a.wang@intel.com> Cc: Jike Song <jike.song@intel.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
Diffstat (limited to 'Documentation/vfio-mediated-device.txt')
-rw-r--r--Documentation/vfio-mediated-device.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/vfio-mediated-device.txt b/Documentation/vfio-mediated-device.txt
index cfee106a3679..d226c7a5ba8b 100644
--- a/Documentation/vfio-mediated-device.txt
+++ b/Documentation/vfio-mediated-device.txt
@@ -223,6 +223,9 @@ Directories and files under the sysfs for Each Physical Device
sprintf(buf, "%s-%s", dev_driver_string(parent->dev), group->name);
+ (or using mdev_parent_dev(mdev) to arrive at the parent device outside
+ of the core mdev code)
+
* device_api
This attribute should show which device API is being created, for example,