linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] introduction of version attribute for VFIO live migration
@ 2019-05-06  1:45 Yan Zhao
  2019-05-06  1:51 ` [PATCH v2 2/2] drm/i915/gvt: export mdev device version to sysfs for Intel vGPU Yan Zhao
       [not found] ` <20190506014904.3621-1-yan.y.zhao@intel.com>
  0 siblings, 2 replies; 43+ messages in thread
From: Yan Zhao @ 2019-05-06  1:45 UTC (permalink / raw)
  To: intel-gvt-dev
  Cc: arei.gonglei, aik, Zhengxiao.zx, shuangtai.tst, qemu-devel,
	eauger, yi.l.liu, ziye.yang, mlevitsk, pasic, felipe,
	changpeng.liu, Ken.Xue, jonathan.davies, shaopeng.he, kvm,
	linux-kernel, libvir-list, alex.williamson, eskultet, dgilbert,
	cohuck, kevin.tian, zhenyuw, zhi.a.wang, cjia, kwankhede,
	berrange, dinechin, Yan Zhao

This patchset introduces a version attribute under sysfs of VFIO Mediated
devices.

This version attribute is used to check whether two mdev devices are
compatible.
user space software can take advantage of this version attribute to
determine whether to launch live migration between two mdev devices.

Patch 1 defines version attribute in Documentation/vfio-mediated-device.txt

Patch 2 uses GVT as an example to show how to expose version attribute and
check device compatibility in vendor driver.


v2:
1. renamed patched 1
2. made definition of device version string completely private to vendor
   driver
3. abandoned changes to sample mdev drivers
4. described intent and usage of version attribute more clearly.

Yan Zhao (2):
  vfio/mdev: add version attribute for mdev device
  drm/i915/gvt: export mdev device version to sysfs for Intel vGPU

 Documentation/vfio-mediated-device.txt    | 135 ++++++++++++++++++++++
 drivers/gpu/drm/i915/gvt/Makefile         |   2 +-
 drivers/gpu/drm/i915/gvt/device_version.c |  84 ++++++++++++++
 drivers/gpu/drm/i915/gvt/gvt.c            |  51 ++++++++
 drivers/gpu/drm/i915/gvt/gvt.h            |   6 +
 5 files changed, 277 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/i915/gvt/device_version.c

-- 
2.17.1


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

end of thread, other threads:[~2019-05-29 14:09 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-06  1:45 [PATCH v2 0/2] introduction of version attribute for VFIO live migration Yan Zhao
2019-05-06  1:51 ` [PATCH v2 2/2] drm/i915/gvt: export mdev device version to sysfs for Intel vGPU Yan Zhao
2019-05-06  3:20   ` Zhenyu Wang
2019-05-06  7:41     ` Zhenyu Wang
2019-05-07  5:43       ` Yan Zhao
2019-05-07  9:27   ` Cornelia Huck
2019-05-08 12:02     ` Yan Zhao
2019-05-08 10:50   ` Dr. David Alan Gilbert
2019-05-08 12:10     ` Yan Zhao
     [not found] ` <20190506014904.3621-1-yan.y.zhao@intel.com>
2019-05-07  9:19   ` [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device Cornelia Huck
2019-05-08 11:57     ` Yan Zhao
2019-05-09 15:24       ` Cornelia Huck
2019-05-10  2:43         ` Yan Zhao
2019-05-07 21:18   ` Alex Williamson
2019-05-08 11:27     ` Yan Zhao
2019-05-08 21:22       ` Alex Williamson
2019-05-08 15:27         ` [libvirt] " Boris Fiuczynski
2019-05-09  6:55           ` Yan Zhao
2019-05-14 15:31           ` Alex Williamson
2019-05-28 20:57             ` Boris Fiuczynski
2019-05-29 14:08               ` Alex Williamson
2019-05-09  3:10         ` Yan Zhao
2019-05-09  3:38           ` Alex Williamson
2019-05-09 15:38     ` Cornelia Huck
2019-05-09 15:48       ` Dr. David Alan Gilbert
2019-05-09 15:54         ` Cornelia Huck
2019-05-09 16:48           ` Dr. David Alan Gilbert
2019-05-10  9:08             ` Cornelia Huck
2019-05-10  9:36               ` Dr. David Alan Gilbert
2019-05-10  9:48                 ` Cornelia Huck
2019-05-13  1:16                   ` Yan Zhao
2019-05-13 13:28                   ` Erik Skultety
     [not found]                     ` <20190514061235.GC20407@joy-OptiPlex-7040>
2019-05-14  7:03                       ` Cornelia Huck
2019-05-14  7:20                       ` Erik Skultety
2019-05-14  7:32                         ` Yan Zhao
2019-05-14  7:43                           ` Erik Skultety
2019-05-14  7:47                             ` Yan Zhao
2019-05-14  9:51                               ` Cornelia Huck
2019-05-14 10:57                                 ` Erik Skultety
2019-05-14 11:01                                 ` Dr. David Alan Gilbert
2019-05-14 11:30                                   ` Cornelia Huck
2019-05-14 15:01                             ` Alex Williamson
2019-05-16  1:00                               ` Yan Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).