Re: [Qemu-devel] [PATCH for-1.4] qom: Extend documentation on QOM method concepts

2013-01-20 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.4] qom: Extend documentation on QOM method concepts

2013-01-17 Thread Anthony Liguori
Eduardo Habkost writes: > On Thu, Jan 17, 2013 at 08:31:50AM +0100, Andreas Färber wrote: >> + * Alternatively, object_class_by_name() can be used to obtain the class and >> + * its non-overridden methods for a specific type. This would correspond to >> + * |[ MyClass::method(...) ]| in C++. > >

Re: [Qemu-devel] [PATCH for-1.4] qom: Extend documentation on QOM method concepts

2013-01-17 Thread Eduardo Habkost
On Thu, Jan 17, 2013 at 08:31:50AM +0100, Andreas Färber wrote: > Add a documentation section "Methods" and discuss among others how to > handle overriding virtual methods. > > Clarify DeviceClass::realize documentation and refer to the above. > > Signed-off-by: Andreas Färber > --- > hw/qdev-c

[Qemu-devel] [PATCH for-1.4] qom: Extend documentation on QOM method concepts

2013-01-16 Thread Andreas Färber
Add a documentation section "Methods" and discuss among others how to handle overriding virtual methods. Clarify DeviceClass::realize documentation and refer to the above. Signed-off-by: Andreas Färber --- hw/qdev-core.h | 14 +-- include/qom/object.h | 104