All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] vfio-mdev: Clean namespace and better define ABI
@ 2016-12-21 23:27 Alex Williamson
  2016-12-21 23:27 ` [PATCH 1/4] vfio-mdev: Remove an unused structure element Alex Williamson
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Alex Williamson @ 2016-12-21 23:27 UTC (permalink / raw)
  To: alex.williamson; +Cc: linux-kernel, kvm

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(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-22  7:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-21 23:27 [PATCH 0/4] vfio-mdev: Clean namespace and better define ABI Alex Williamson
2016-12-21 23:27 ` [PATCH 1/4] vfio-mdev: Remove an unused structure element Alex Williamson
2016-12-21 23:27 ` [PATCH 2/4] vfio-mdev: de-polute the namespace, rename parent_device & parent_ops Alex Williamson
2016-12-22  7:51   ` Jike Song
2016-12-21 23:27 ` [PATCH 3/4] vfio-mdev: Make mdev_parent private Alex Williamson
2016-12-21 23:27 ` [PATCH 4/4] vfio-mdev: Make mdev_device private and abstract interfaces Alex Williamson
2016-12-22  2:11 ` [PATCH 0/4] vfio-mdev: Clean namespace and better define ABI Jike Song
2016-12-22  2:31   ` Alex Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.