]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: allow several MPT methods to be NULL
authorJike Song <jike.song@intel.com>
Thu, 3 Nov 2016 10:38:34 +0000 (18:38 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 10 Nov 2016 07:45:14 +0000 (15:45 +0800)
commitfdff30b1d730c240e1859d9228c49bf98a4998b4
tree16da5286eae4fb7d7c73be8f00882f87fbc6cc9b
parent4603aa3fe8e59f2cf7ccd4ccc5b4248eaf6ce5ed
drm/i915/gvt: allow several MPT methods to be NULL

Hypervisors are different, the MPT ops is a only superset of
all possibly supported hypervisors. There might be other way
out of the MPT to achieve same target. e.g. vfio-based kvmgt
won't provide map_gfn_to_mfn method to establish guest EPT
mapping for aperture, since it will be done in QEMU/KVM, MMIO
is also trapped elsewhere, etc.

Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/mpt.h