Re: [Qemu-devel] [PATCH v2 19/24] qdev: generalize properties to Objects

2012-04-17 Thread Zhi Yong Wu
On Thu, Apr 12, 2012 at 5:30 AM, Paolo Bonzini wrote: > The property machinery uses DeviceState arguments in a few places. > Replace this with Object so that we can push properties up. > > Signed-off-by: Paolo Bonzini > --- >  hw/qdev-addr.c       |   19 +++--- >  hw/qdev-properties.c |  173 > +

[Qemu-devel] [PATCH v2 19/24] qdev: generalize properties to Objects

2012-04-11 Thread Paolo Bonzini
The property machinery uses DeviceState arguments in a few places. Replace this with Object so that we can push properties up. Signed-off-by: Paolo Bonzini --- hw/qdev-addr.c | 19 +++--- hw/qdev-properties.c | 173 +- hw/qdev.c