From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jike Song Subject: Re: VFIO based vGPU(was Re: [Announcement] 2015-Q3 release of XenGT - a Mediated ...) Date: Mon, 25 Jan 2016 19:34:22 +0800 Message-ID: <56A6083E.10703@intel.com> References: <569C5071.6080004@intel.com> <1453092476.32741.67.camel@redhat.com> <569CA8AD.6070200@intel.com> <1453143919.32741.169.camel@redhat.com> <569F4C86.2070501@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "Tian, Kevin" , Gerd Hoffmann , Paolo Bonzini , "Lv, Zhiyuan" , "Ruan, Shuai" , "kvm@vger.kernel.org" , qemu-devel , "igvt-g@lists.01.org" To: Alex Williamson Return-path: Received: from mga01.intel.com ([192.55.52.88]:46038 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756817AbcAYLeD (ORCPT ); Mon, 25 Jan 2016 06:34:03 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNfPL-0002BH-Rt for qemu-devel@nongnu.org; Mon, 25 Jan 2016 06:34:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNfPH-0000Qq-S3 for qemu-devel@nongnu.org; Mon, 25 Jan 2016 06:34:07 -0500 Received: from mga01.intel.com ([192.55.52.88]:38213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNfPH-0000QZ-M2 for qemu-devel@nongnu.org; Mon, 25 Jan 2016 06:34:03 -0500 Message-ID: <56A6083E.10703@intel.com> Date: Mon, 25 Jan 2016 19:34:22 +0800 From: Jike Song MIME-Version: 1.0 References: <569C5071.6080004@intel.com> <1453092476.32741.67.camel@redhat.com> <569CA8AD.6070200@intel.com> <1453143919.32741.169.camel@redhat.com> <569F4C86.2070501@intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] VFIO based vGPU(was Re: [Announcement] 2015-Q3 release of XenGT - a Mediated ...) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: "Ruan, Shuai" , "Tian, Kevin" , "kvm@vger.kernel.org" , "igvt-g@lists.01.org" , qemu-devel , Gerd Hoffmann , Paolo Bonzini , "Lv, Zhiyuan" 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