lkml.org 
[lkml]   [2016]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/4] vfio-mdev: Clean namespace and better define ABI
From
Date
Cleanup the namespace a bit by prefixing structures with mdev_ and
also more concretely define the mdev interface. Structs with comments
defining which fields are private vs public tempts poor behavior,
especially for an interface where we expect out of tree vendor drivers.
Thanks,

Alex

---

Alex Williamson (4):
vfio-mdev: Remove an unused structure element
vfio-mdev: de-polute the namespace, rename parent_device & parent_ops
vfio-mdev: Make mdev_parent private
vfio-mdev: Make mdev_device private and abstract interfaces


drivers/gpu/drm/i915/gvt/kvmgt.c | 22 +++++++------
drivers/vfio/mdev/mdev_core.c | 64 ++++++++++++++++++++++++++++++--------
drivers/vfio/mdev/mdev_private.h | 28 +++++++++++++++--
drivers/vfio/mdev/mdev_sysfs.c | 8 ++---
drivers/vfio/mdev/vfio_mdev.c | 12 ++++---
include/linux/mdev.h | 54 +++++++-------------------------
samples/vfio-mdev/mtty.c | 28 +++++++++--------
7 files changed, 123 insertions(+), 93 deletions(-)

\
 
 \ /
  Last update: 2016-12-22 00:36    [W:0.045 / U:2.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site