From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsgs3-0005YB-IF for qemu-devel@nongnu.org; Wed, 01 Feb 2012 15:33:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rsgs2-00069G-6H for qemu-devel@nongnu.org; Wed, 01 Feb 2012 15:33:35 -0500 Received: from mail-ey0-f173.google.com ([209.85.215.173]:41808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsgs1-00069C-L4 for qemu-devel@nongnu.org; Wed, 01 Feb 2012 15:33:34 -0500 Received: by eaao14 with SMTP id o14so768813eaa.4 for ; Wed, 01 Feb 2012 12:33:32 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4F29A198.40107@redhat.com> Date: Wed, 01 Feb 2012 21:33:28 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1327957741-5842-1-git-send-email-aliguori@us.ibm.com> <1327957741-5842-17-git-send-email-aliguori@us.ibm.com> <4F279C73.1020909@redhat.com> <4F299A18.3000404@codemonkey.ws> In-Reply-To: <4F299A18.3000404@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 17/23] qom: move properties from qdev to object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , Anthony Liguori , Andreas Faerber , qemu-devel@nongnu.org On 02/01/2012 09:01 PM, Anthony Liguori wrote: > I think that read-only properties could be interesting for SCSIRequest. > For instance, I can imagine having SCSIRequest is-a BlockRequest and > having an error property associated with it. That would provide a nice > way to have an info io operation that returned a list of failed I/O > requests or something like that. SCSIRequests can have a BlockRequest as a child; not all SCSIRequests have I/O attached to them, but I see the general concept. I'm not sure we'll be able to optimize enough, but we can certainly try... Paolo