qdev: Push "type" property up to Object
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Apr 2012 15:33:51 +0000 (17:33 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 18 Jun 2012 13:14:37 +0000 (15:14 +0200)
commit2f262e06f01a38cb8a218b7c5ad71233883a6b55
tree1d5f8a316a34d3e69174bc092f4e8accfa966cea
parentedc92115a9300cca65946d5b2d56bec637a38f26
qdev: Push "type" property up to Object

Now that Object is a type, add an instance_init function and push
the "type" property from qdev to there.

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