[PATCH v3 0/3] Change KVMGT into self loadable module

Zhenyu Wang zhenyuw at linux.intel.com
Mon Dec 3 04:05:47 UTC 2018


This series try to change 'kvmgt' as self loadable module to enable
GVT feature for VFIO/mdev interface when user loads 'kvmgt' module,
instead of current method to load hypervisor module when i915/gvt
device model initializes.

v3:
- Fix module reference handling for device open and release. Unused
  mdev devices would be cleaned up in device unregister when module unload.

Zhenyu Wang (3):
  drm/i915/gvt: mandatory require hypervisor's host_init
  drm/i915/gvt: remove unused parameter for hypervisor's host_exit call
  drm/i915/gvt: Change KVMGT as self load module

 drivers/gpu/drm/i915/Makefile        |   1 +
 drivers/gpu/drm/i915/gvt/Makefile    |   1 -
 drivers/gpu/drm/i915/gvt/gvt.c       | 107 +++++++++++----------------
 drivers/gpu/drm/i915/gvt/gvt.h       |   6 +-
 drivers/gpu/drm/i915/gvt/hypercall.h |   9 ++-
 drivers/gpu/drm/i915/gvt/kvmgt.c     |  22 +++++-
 drivers/gpu/drm/i915/gvt/mpt.h       |  13 ++--
 drivers/gpu/drm/i915/intel_gvt.c     |   9 ---
 8 files changed, 77 insertions(+), 91 deletions(-)

-- 
2.19.1



More information about the intel-gvt-dev mailing list