From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tian, Kevin" Subject: RE: [RFC PATCH v4 0/3] Add Mediated device support[was: Add vGPU support] Date: Wed, 25 May 2016 07:13:58 +0000 Message-ID: References: <1464119897-10844-1-git-send-email-kwankhede@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Cc: "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" , "Ruan, Shuai" , "Song, Jike" , "Lv, Zhiyuan" , "bjsdjshi@linux.vnet.ibm.com" To: Kirti Wankhede , "alex.williamson@redhat.com" , "pbonzini@redhat.com" , "kraxel@redhat.com" , "cjia@nvidia.com" Return-path: Received: from mga14.intel.com ([192.55.52.115]:20691 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750727AbcEYHOd convert rfc822-to-8bit (ORCPT ); Wed, 25 May 2016 03:14:33 -0400 In-Reply-To: <1464119897-10844-1-git-send-email-kwankhede@nvidia.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: > From: Kirti Wankhede [mailto:kwankhede@nvidia.com] > Sent: Wednesday, May 25, 2016 3:58 AM > > This series adds Mediated device support to v4.6 Linux host kernel. Purpose > of this series is to provide a common interface for mediated device > management that can be used by different devices. This series introduces > Mdev core module that create and manage mediated devices, VFIO based driver > for mediated PCI devices that are created by Mdev core module and update > VFIO type1 IOMMU module to support mediated devices. Thanks. "Mediated device" is more generic than previous one. :-) > > What's new in v4? > - Renamed 'vgpu' module to 'mdev' module that represent generic term > 'Mediated device'. > - Moved mdev directory to drivers/vfio directory as this is the extension > of VFIO APIs for mediated devices. > - Updated mdev driver to be flexible to register multiple types of drivers > to mdev_bus_type bus. > - Updated mdev core driver with mdev_put_device() and mdev_get_device() for > mediated devices. > > Just curious. In this version you move the whole mdev core under VFIO now. Sorry if I missed any agreement on this change. IIRC Alex doesn't want VFIO to manage mdev life-cycle directly. Instead VFIO is just a mdev driver on created mediated devices.... Thanks Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5T1Z-0005LP-RZ for qemu-devel@nongnu.org; Wed, 25 May 2016 03:14:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5T1V-0007wx-IQ for qemu-devel@nongnu.org; Wed, 25 May 2016 03:14:36 -0400 Received: from mga02.intel.com ([134.134.136.20]:65468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5T1V-0007wp-BK for qemu-devel@nongnu.org; Wed, 25 May 2016 03:14:33 -0400 From: "Tian, Kevin" Date: Wed, 25 May 2016 07:13:58 +0000 Message-ID: References: <1464119897-10844-1-git-send-email-kwankhede@nvidia.com> In-Reply-To: <1464119897-10844-1-git-send-email-kwankhede@nvidia.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC PATCH v4 0/3] Add Mediated device support[was: Add vGPU support] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirti Wankhede , "alex.williamson@redhat.com" , "pbonzini@redhat.com" , "kraxel@redhat.com" , "cjia@nvidia.com" Cc: "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" , "Ruan, Shuai" , "Song, Jike" , "Lv, Zhiyuan" , "bjsdjshi@linux.vnet.ibm.com" > From: Kirti Wankhede [mailto:kwankhede@nvidia.com] > Sent: Wednesday, May 25, 2016 3:58 AM >=20 > This series adds Mediated device support to v4.6 Linux host kernel. Purpo= se > of this series is to provide a common interface for mediated device > management that can be used by different devices. This series introduces > Mdev core module that create and manage mediated devices, VFIO based driv= er > for mediated PCI devices that are created by Mdev core module and update > VFIO type1 IOMMU module to support mediated devices. Thanks. "Mediated device" is more generic than previous one. :-) >=20 > What's new in v4? > - Renamed 'vgpu' module to 'mdev' module that represent generic term > 'Mediated device'. > - Moved mdev directory to drivers/vfio directory as this is the extension > of VFIO APIs for mediated devices. > - Updated mdev driver to be flexible to register multiple types of driver= s > to mdev_bus_type bus. > - Updated mdev core driver with mdev_put_device() and mdev_get_device() f= or > mediated devices. >=20 >=20 Just curious. In this version you move the whole mdev core under VFIO now. Sorry if I missed any agreement on this change. IIRC Alex=20 doesn't want VFIO to manage mdev life-cycle directly. Instead VFIO is=20 just a mdev driver on created mediated devices.... Thanks Kevin