]> git.proxmox.com Git - qemu.git/commit - qom/object.c
qom: Introduce instance_post_init hook
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 10 Jul 2013 20:08:41 +0000 (17:08 -0300)
committerAndreas Färber <afaerber@suse.de>
Fri, 16 Aug 2013 16:44:33 +0000 (18:44 +0200)
commit8231c2dd220336bbc7522c490d95742f6ba0adae
tree0c3fa9d769747a93ad5260e4451c531aa1bacf90
parent747b0cb4b51296e85add0a23d5fc1d24e250ec08
qom: Introduce instance_post_init hook

This will allow classes to specify a function to be called after all
instance_init functions were called.

This will be used by DeviceState to call qdev_prop_set_globals() at the
right moment.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qom/object.h
qom/object.c