Received: from eggs.gnu.org ([2001:4830:134:3::10]:34631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsaWI-0000gj-Kf for qemu-devel@nongnu.org; Fri, 07 Oct 2016 15:09:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsaWE-0001fK-AZ for qemu-devel@nongnu.org; Fri, 07 Oct 2016 15:09:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsaWE-0001ea-3d for qemu-devel@nongnu.org; Fri, 07 Oct 2016 15:09:18 -0400 Date: Fri, 7 Oct 2016 13:09:15 -0600 From: Alex Williamson Message-ID: <20161007130915.1727ce90@t450s.home> In-Reply-To: References: <00d96f24-5df0-d16b-d4e1-838333989dee@nvidia.com> <20160920094753.GB25490@redhat.com> <20160928194833.GA26800@nvidia.com> <20160929080618.GB5312@redhat.com> <20160929143831.GT5312@redhat.com> <22f8b5e9-5b55-b5bb-9f71-12b7f02d4314@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2] libvirt vGPU QEMU integration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirti Wankhede Cc: "Tian, Kevin" , "Daniel P. Berrange" , Andy Currid , "Song, Jike" , Neo Jia , "libvir-list@redhat.com" , qemu-devel , Gerd Hoffmann , Paolo Bonzini , "bjsdjshi@linux.vnet.ibm.com" On Fri, 7 Oct 2016 10:46:22 +0530 Kirti Wankhede wrote: > Ping.. > > Pulling the questions at the top. > > >> Will libvirt report 'description' RO attribute, its output would be > >> string, so that user could be able to see the configuration of that > >> profile? > >> > > > > Daniel, > > Waiting for your input on this. > > > >> We can have 'class' as optional attribute. So Intel don't have to > >> provide 'class' attribute and they don't have to specify mandatory > >> attributes of that class. We would provide 'class' attribute and provide > >> mandatory attributes. Hi Kirti, I would proceed with your design and posting, this is not a sufficiently significant issue to delay a new version. The next posting will likely not be the last, more feedback will come. Personally I don't see an issue. We should have a small number of mandatory sysfs interfaces for mdev devices, essentially just enough to manage the life cycle of a device, even if it requires vendor specific knowledge to understand the exact composition of that device. Some sort of human readable description seems like a reasonable optional feature for a userspace tool like libvirt to take advantage of. A class definition with an available set of attributes per class would clearly enhance the ability of a userspace tool to understand the device, but does not seem strictly required for managing the device. Thanks, Alex