From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnpgE-0003nI-Fc for qemu-devel@nongnu.org; Thu, 30 Apr 2015 10:43:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynpg9-0000Ri-8Y for qemu-devel@nongnu.org; Thu, 30 Apr 2015 10:43:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynpg9-0000Pc-3i for qemu-devel@nongnu.org; Thu, 30 Apr 2015 10:43:05 -0400 From: "Daniel P. Berrange" Date: Thu, 30 Apr 2015 15:42:17 +0100 Message-Id: <1430404944-7322-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] qom: misc fixes & enhancements to support TLS work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= This series contains the 7 generic QOM API fixes and enhancements that I previously posted as part of the large series refactoring and extending the TLS support in QEMU: https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg02038.html I'm sending it separately, since the patches are reasonably well self-contained and thus hopefully suitable for quicker review and merge. Since the first RFC posting, I addressed the feedback that Paolo gave on the new object creation APIs and the enum helpers. Daniel P. Berrange (7): qom: fix typename of 'policy' enum property in hostmem obj qom: document user creatable object types in help text qom: create objects in two phases qom: add object_new_propv / object_new_proplist constructors qom: make enum string tables const-correct qom: add a object_property_add_enum helper method qom: don't pass string table to object_get_enum method backends/hostmem.c | 22 ++-- include/hw/qdev-core.h | 2 +- include/qapi/util.h | 2 +- include/qapi/visitor-impl.h | 6 +- include/qapi/visitor.h | 2 +- include/qom/object.h | 87 ++++++++++++- numa.c | 2 +- qapi/qapi-dealloc-visitor.c | 3 +- qapi/qapi-util.c | 2 +- qapi/qapi-visit-core.c | 6 +- qemu-options.hx | 70 +++++++--- qom/object.c | 145 ++++++++++++++++++++- scripts/qapi-types.py | 4 +- tests/.gitignore | 1 + tests/Makefile | 5 +- tests/check-qom-proplist.c | 308 ++++++++++++++++++++++++++++++++++++++++++++ vl.c | 40 +++++- 17 files changed, 657 insertions(+), 50 deletions(-) create mode 100644 tests/check-qom-proplist.c -- 2.1.0