summaryrefslogtreecommitdiffstats
path: root/kernel/capability.c
diff options
context:
space:
mode:
authorJike Song2016-12-08 04:00:36 +0100
committerZhenyu Wang2016-12-16 09:55:26 +0100
commit659643f7d81432189c2c87230e2feee4c75c14c1 (patch)
tree028cce00b8a6b81688ef7488a10adc8935aebb0d /kernel/capability.c
parentdrm/i915/gvt/kvmgt: read/write GPA via KVM API (diff)
downloadkernel-qcow2-linux-659643f7d81432189c2c87230e2feee4c75c14c1.tar.gz
kernel-qcow2-linux-659643f7d81432189c2c87230e2feee4c75c14c1.tar.xz
kernel-qcow2-linux-659643f7d81432189c2c87230e2feee4c75c14c1.zip
drm/i915/gvt/kvmgt: add vfio/mdev support to KVMGT
KVMGT leverages vfio/mdev to mediate device accesses from guest, this patch adds the vfio/mdev support, thereby completes the functionality. An intel_vgpu is presented as a mdev device, and full userspace API compatibility with vfio-pci is kept. An intel_vgpu_ops is provided to mdev framework, methods get called to create/remove a vgpu, to open/close it, and to access it. Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Xiaoguang Chen <xiaoguang.chen@intel.com> Signed-off-by: Jike Song <jike.song@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions