All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] introduction of version attribute for VFIO live migration
@ 2019-05-06  1:45 ` Yan Zhao
  0 siblings, 0 replies; 89+ 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] 89+ messages in thread

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

Thread overview: 89+ 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:45 ` [Qemu-devel] " Yan Zhao
2019-05-06  1:49 ` [Qemu-devel] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device Yan Zhao
2019-05-07  9:19   ` Cornelia Huck
2019-05-07  9:19     ` [Qemu-devel] " Cornelia Huck
2019-05-08 11:57     ` Yan Zhao
2019-05-08 11:57       ` [Qemu-devel] " Yan Zhao
2019-05-09 15:24       ` Cornelia Huck
2019-05-09 15:24         ` [Qemu-devel] " Cornelia Huck
2019-05-10  2:43         ` Yan Zhao
2019-05-10  2:43           ` [Qemu-devel] " Yan Zhao
2019-05-07 21:18   ` Alex Williamson
2019-05-07 21:18     ` [Qemu-devel] " Alex Williamson
2019-05-08 11:27     ` Yan Zhao
2019-05-08 11:27       ` [Qemu-devel] " Yan Zhao
2019-05-08 21:22       ` Alex Williamson
2019-05-08 21:22         ` [Qemu-devel] " Alex Williamson
2019-05-08 15:27         ` [libvirt] " Boris Fiuczynski
2019-05-08 15:27           ` [Qemu-devel] " Boris Fiuczynski
2019-05-09  6:55           ` Yan Zhao
2019-05-09  6:55             ` [Qemu-devel] " Yan Zhao
2019-05-14 15:31           ` Alex Williamson
2019-05-14 15:31             ` [Qemu-devel] " Alex Williamson
2019-05-28 20:57             ` Boris Fiuczynski
2019-05-28 20:57               ` [Qemu-devel] " Boris Fiuczynski
2019-05-29 14:08               ` Alex Williamson
2019-05-29 14:08                 ` [Qemu-devel] " Alex Williamson
2019-05-09  3:10         ` Yan Zhao
2019-05-09  3:10           ` [Qemu-devel] " Yan Zhao
2019-05-09  3:38           ` Alex Williamson
2019-05-09  3:38             ` [Qemu-devel] " Alex Williamson
2019-05-09  5:48             ` Yan Zhao
2019-05-09 15:38     ` Cornelia Huck
2019-05-09 15:38       ` [Qemu-devel] " Cornelia Huck
2019-05-09 15:48       ` Dr. David Alan Gilbert
2019-05-09 15:48         ` [Qemu-devel] " Dr. David Alan Gilbert
2019-05-09 15:54         ` Cornelia Huck
2019-05-09 15:54           ` [Qemu-devel] " Cornelia Huck
2019-05-09 16:48           ` Dr. David Alan Gilbert
2019-05-09 16:48             ` [Qemu-devel] " Dr. David Alan Gilbert
2019-05-10  9:08             ` Cornelia Huck
2019-05-10  9:08               ` [Qemu-devel] " Cornelia Huck
2019-05-10  9:36               ` Dr. David Alan Gilbert
2019-05-10  9:36                 ` [Qemu-devel] " Dr. David Alan Gilbert
2019-05-10  9:48                 ` Cornelia Huck
2019-05-10  9:48                   ` [Qemu-devel] " Cornelia Huck
2019-05-13  1:16                   ` Yan Zhao
2019-05-13  1:16                     ` [Qemu-devel] " Yan Zhao
2019-05-13 13:28                   ` Erik Skultety
2019-05-13 13:28                     ` [Qemu-devel] " Erik Skultety
2019-05-14  6:12                     ` Yan Zhao
2019-05-14  7:03                       ` Cornelia Huck
2019-05-14  7:03                         ` [Qemu-devel] " Cornelia Huck
2019-05-14  7:20                       ` Erik Skultety
2019-05-14  7:20                         ` [Qemu-devel] " Erik Skultety
2019-05-14  7:32                         ` Yan Zhao
2019-05-14  7:32                           ` [Qemu-devel] " Yan Zhao
2019-05-14  7:43                           ` Erik Skultety
2019-05-14  7:43                             ` [Qemu-devel] " Erik Skultety
2019-05-14  7:47                             ` Yan Zhao
2019-05-14  7:47                               ` [Qemu-devel] " Yan Zhao
2019-05-14  9:51                               ` Cornelia Huck
2019-05-14  9:51                                 ` [Qemu-devel] " Cornelia Huck
2019-05-14 10:57                                 ` Erik Skultety
2019-05-14 10:57                                   ` [Qemu-devel] " Erik Skultety
2019-05-14 11:01                                 ` Dr. David Alan Gilbert
2019-05-14 11:01                                   ` [Qemu-devel] " Dr. David Alan Gilbert
2019-05-14 11:30                                   ` Cornelia Huck
2019-05-14 11:30                                     ` [Qemu-devel] " Cornelia Huck
2019-05-14 15:01                             ` Alex Williamson
2019-05-14 15:01                               ` [Qemu-devel] " Alex Williamson
2019-05-16  1:00                               ` Yan Zhao
2019-05-16  1:00                                 ` [Qemu-devel] " 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  1:51   ` [Qemu-devel] " Yan Zhao
2019-05-06  3:20   ` Zhenyu Wang
2019-05-06  3:20     ` [Qemu-devel] " Zhenyu Wang
2019-05-06  7:41     ` Zhenyu Wang
2019-05-06  7:41       ` [Qemu-devel] " Zhenyu Wang
2019-05-07  5:43       ` Yan Zhao
2019-05-07  5:43         ` [Qemu-devel] " Yan Zhao
2019-05-07  9:27   ` Cornelia Huck
2019-05-07  9:27     ` [Qemu-devel] " Cornelia Huck
2019-05-08 12:02     ` Yan Zhao
2019-05-08 12:02       ` [Qemu-devel] " Yan Zhao
2019-05-08 10:50   ` Dr. David Alan Gilbert
2019-05-08 10:50     ` [Qemu-devel] " Dr. David Alan Gilbert
2019-05-08 12:10     ` Yan Zhao
2019-05-08 12:10       ` [Qemu-devel] " Yan Zhao

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.