Received: from eggs.gnu.org ([2001:4830:134:3::10]:52598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ux0gx-0007J2-Oi for qemu-devel@nongnu.org; Wed, 10 Jul 2013 16:08:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ux0gw-0003Bk-JM for qemu-devel@nongnu.org; Wed, 10 Jul 2013 16:08:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ux0gw-0003Bf-BX for qemu-devel@nongnu.org; Wed, 10 Jul 2013 16:08:46 -0400 From: Eduardo Habkost Date: Wed, 10 Jul 2013 17:08:39 -0300 Message-Id: <1373486922-24209-1-git-send-email-ehabkost@redhat.com> In-Reply-To: <51DC1F19.8030806@suse.de> References: <51DC1F19.8030806@suse.de> Subject: [Qemu-devel] [RFC 0/3 v2] qdev: handle global properties after all instance_init calls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Igor Mammedov 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