|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 17/23] qom: move properties from qdev to object |
Date: | Wed, 01 Feb 2012 21:33:28 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |