From: Yan Zhao <yan.y.zhao@intel.com>
To: intel-gvt-dev@lists.freedesktop.org
Cc: arei.gonglei@huawei.com, aik@ozlabs.ru,
Zhengxiao.zx@alibaba-inc.com, shuangtai.tst@alibaba-inc.com,
qemu-devel@nongnu.org, eauger@redhat.com, yi.l.liu@intel.com,
ziye.yang@intel.com, mlevitsk@redhat.com, pasic@linux.ibm.com,
felipe@nutanix.com, changpeng.liu@intel.com, Ken.Xue@amd.com,
jonathan.davies@nutanix.com, shaopeng.he@intel.com,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
libvir-list@redhat.com, alex.williamson@redhat.com,
eskultet@redhat.com, dgilbert@redhat.com, cohuck@redhat.com,
kevin.tian@intel.com, zhenyuw@linux.intel.com,
zhi.a.wang@intel.com, cjia@nvidia.com, kwankhede@nvidia.com,
berrange@redhat.com, dinechin@redhat.com,
Yan Zhao <yan.y.zhao@intel.com>
Subject: [PATCH v2 0/2] introduction of version attribute for VFIO live migration
Date: Sun, 5 May 2019 21:45:14 -0400 [thread overview]
Message-ID: <20190506014514.3555-1-yan.y.zhao@intel.com> (raw)
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
next reply other threads:[~2019-05-06 1:52 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-06 1:45 Yan Zhao [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190506014514.3555-1-yan.y.zhao@intel.com \
--to=yan.y.zhao@intel.com \
--cc=Ken.Xue@amd.com \
--cc=Zhengxiao.zx@alibaba-inc.com \
--cc=aik@ozlabs.ru \
--cc=alex.williamson@redhat.com \
--cc=arei.gonglei@huawei.com \
--cc=berrange@redhat.com \
--cc=changpeng.liu@intel.com \
--cc=cjia@nvidia.com \
--cc=cohuck@redhat.com \
--cc=dgilbert@redhat.com \
--cc=dinechin@redhat.com \
--cc=eauger@redhat.com \
--cc=eskultet@redhat.com \
--cc=felipe@nutanix.com \
--cc=intel-gvt-dev@lists.freedesktop.org \
--cc=jonathan.davies@nutanix.com \
--cc=kevin.tian@intel.com \
--cc=kvm@vger.kernel.org \
--cc=kwankhede@nvidia.com \
--cc=libvir-list@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mlevitsk@redhat.com \
--cc=pasic@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=shaopeng.he@intel.com \
--cc=shuangtai.tst@alibaba-inc.com \
--cc=yi.l.liu@intel.com \
--cc=zhenyuw@linux.intel.com \
--cc=zhi.a.wang@intel.com \
--cc=ziye.yang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®