Re: [Qemu-devel] [PATCH 17/23] qom: move properties from qdev to object

2012-02-01 Thread Paolo Bonzini
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

Re: [Qemu-devel] [PATCH 17/23] qom: move properties from qdev to object

2012-02-01 Thread Anthony Liguori
On 01/31/2012 01:46 AM, Paolo Bonzini wrote: On 01/30/2012 10:08 PM, Anthony Liguori wrote: This is mostly code movement although not entirely. This makes properties part of the Object base class which means that we can now start using Object in a meaningful way outside of qdev. Can we move th

Re: [Qemu-devel] [PATCH 17/23] qom: move properties from qdev to object

2012-01-30 Thread Paolo Bonzini
On 01/30/2012 10:08 PM, Anthony Liguori wrote: This is mostly code movement although not entirely. This makes properties part of the Object base class which means that we can now start using Object in a meaningful way outside of qdev. Can we move them to an intermediate base class? I would li