]> git.karo-electronics.de Git - linux-beck.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)
commit7b3343b7e804bb89ad24a0a8c4e8e1010a418f14
tree16da5286eae4fb7d7c73be8f00882f87fbc6cc9b
parent40df6ea07a15032e33b6f3d415bed0774547ec7e
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