Re: [Qemu-devel] [PATCH v2 24/27] qdev: initialize properties via QOM

2012-02-06 Thread Anthony Liguori
On 02/04/2012 02:02 AM, Paolo Bonzini wrote: Similarly, use the object properties also to set the default values of the qdev properties. This requires reordering registration and initialization. Signed-off-by: Paolo Bonzini Reviewed-by: Anthony Liguori Regards, Anthony Liguori --- hw/q

[Qemu-devel] [PATCH v2 24/27] qdev: initialize properties via QOM

2012-02-04 Thread Paolo Bonzini
Similarly, use the object properties also to set the default values of the qdev properties. This requires reordering registration and initialization. Signed-off-by: Paolo Bonzini --- hw/qdev-properties.c | 29 ++--- hw/qdev.c|4 ++-- hw/qdev.h