qom: Make Object a type
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 31 Mar 2012 14:45:54 +0000 (16:45 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 18 Jun 2012 13:14:37 +0000 (15:14 +0200)
commit745549c8d0273d3a3d9c3701534a34e70e2ea031
treee865509ebaf10b98949805eaf82ce4e43c9deeed
parent3b50e311b48795707fed6d4f474711db87e341b9
qom: Make Object a type

Right now the base Object class has a special NULL type.  Change this so
that we will be able to add class_init and class_base_init callbacks.
To do this, remove some special casing of ObjectClass that is not really
necessary.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qemu/object.h
qom/object.c