There's been a cut-and-paste error, it looks like, in the documentation in qom/object.h.
Signed-off-by: Peter Chubb <peter.ch...@nicta.com.au> --- include/qom/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: qemu/include/qom/object.h =================================================================== --- qemu.orig/include/qom/object.h 2013-08-06 09:59:30.064467951 +1000 +++ qemu/include/qom/object.h 2013-08-07 12:29:46.678911807 +1000 @@ -249,7 +249,7 @@ typedef struct InterfaceInfo InterfaceIn * MyClass parent_class; * * MyDoSomething parent_do_something; - * } MyClass; + * } DerivedClass; * * static void derived_do_something(MyState *obj) * { -- Dr Peter Chubb peter.chubb AT nicta.com.au http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA