On 01/20/2016 05:05 PM, Tian, Kevin wrote:
> I would expect we can spell out next level tasks toward above
> direction, upon which Alex can easily judge whether there are
> some common VFIO framework changes that he can help :-)
Hi Alex,
Here is a draft task list after a short discussion w/ Kevin,
would you please have a look?
Bus Driver
{ in i915/vgt/xxx.c }
- define a subset of vfio_pci interfaces
- selective pass-through (say aperture)
- trap MMIO: interface w/ QEMU
IOMMU
{ in a new vfio_xxx.c }
- allocate: struct device & IOMMU group
- map/unmap functions for vgpu
- rb-tree to maintain iova/hpa mappings
- interacts with kvmgt.c
vgpu instance management
{ in i915 }
- path, create/destroy
--
Thanks,
Jike