From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkBtH-0005Ju-Df for qemu-devel@nongnu.org; Thu, 08 Oct 2015 10:09:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkBtE-00069P-4G for qemu-devel@nongnu.org; Thu, 08 Oct 2015 10:09:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkBtD-00069F-VX for qemu-devel@nongnu.org; Thu, 08 Oct 2015 10:09:48 -0400 From: "Daniel P. Berrange" Date: Thu, 8 Oct 2015 15:08:59 +0100 Message-Id: <1444313344-16196-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] qom: more efficient object property handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Pavel Fedin , =?UTF-8?q?Andreas=20F=C3=A4rber?= This patch series is a combination of my own previous patch to add support for object properties against classes: https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg05953.html And Pavel Fedin's patch to use a hash table instead of list https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg01455.html I pulled Pavel's patch in to my series, since both our patches touch the same code and thus generate nasty merge conflicts. In resolving these conflicts I decided we needed a new helper method object_property_foreach to deal with iteration over properties, hence we now have a short series of patches. I made a few changes to Pavel's patch but the guts of it are still his work, so I left him as GIT author, but removed his Signed-off-by, since that would not apply to my own additions Probably the only controversial thing is the item Pavel points out about object_child_foreach iterators now being forbidden from modifying the object composition tree. Daniel P. Berrange (4): qom: introduce object_property_foreach method qmp: convert to use object_property_foreach iterators vl: convert machine help to use object_property_foreach qom: allow properties to be registered against classes Pavel Fedin (1): qom: replace object property list with GHashTable include/qom/object.h | 78 ++++++++++++- qmp.c | 103 +++++++++------- qom/object.c | 325 +++++++++++++++++++++++++++++++++++++++++++++------ vl.c | 37 +++--- 4 files changed, 444 insertions(+), 99 deletions(-) -- 2.4.3