Updated version of the series sent in October 2012. References: http://article.gmane.org/gmane.comp.emulators.qemu/173753 (old discussion) http://article.gmane.org/gmane.comp.emulators.qemu/173782 (previous version of this series) http://article.gmane.org/gmane.comp.emulators.kvm.devel/112380 (Minutes of last call where this was discussed)
Eduardo Habkost (3): tests: unit tests for qdev global-properties handling qom: introduce post_init() function qdev: set globals on post_init() function hw/core/qdev.c | 10 ++- include/qom/object.h | 3 + qom/object.c | 14 ++++ tests/.gitignore | 1 + tests/Makefile | 7 ++ tests/test-qdev-global-props.c | 178 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 212 insertions(+), 1 deletion(-) create mode 100644 tests/test-qdev-global-props.c -- 1.8.1.4