Re: [libvirt] [PATCH v2 2/2] drm/i915/gvt: export mdev device version to sysfs for Intel vGPU

2019-05-05 Thread Zhenyu Wang
On 2019.05.05 21:51:02 -0400, Yan Zhao wrote: > This feature implements the version attribute for Intel's vGPU mdev > devices. > > version attribute is rw. > It's used to check device compatibility for two mdev devices. > version string format and length are private for vendor driver. vendor >

[libvirt] [PATCH v2 2/2] drm/i915/gvt: export mdev device version to sysfs for Intel vGPU

2019-05-05 Thread Yan Zhao
This feature implements the version attribute for Intel's vGPU mdev devices. version attribute is rw. It's used to check device compatibility for two mdev devices. version string format and length are private for vendor driver. vendor driver is able to define them freely. For Intel vGPU of gen8

[libvirt] [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device

2019-05-05 Thread Yan Zhao
version attribute is used to check two mdev devices' compatibility. The key point of this version attribute is that it's rw. User space has no need to understand internal of device version and no need to compare versions by itself. Compared to reading version strings from both two mdev devices

[libvirt] [PATCH v2 0/2] introduction of version attribute for VFIO live migration

2019-05-05 Thread 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