Hello Peter, This is my QOM (devices) patch queue. Please pull.
v3 reverts use of GLib macros in v2 and adds three commits. Regards, Andreas Cc: Peter Maydell <peter.mayd...@linaro.org> Cc: Eduardo Habkost <ehabk...@redhat.com> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Daniel P. Berrange <berra...@redhat.com> Cc: Markus Armbruster <arm...@redhat.com> The following changes since commit 8ffe756da0481233e1bd518b2b16489f51856292: Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2015-06-18' into staging (2015-06-18 13:32:39 +0100) are available in the git repository at: git://github.com/afaerber/qemu-cpu.git tags/qom-devices-for-peter for you to fetch changes up to daeba9699d41ad79e2f3d34acea9c85c5d67a2ac: qdev: Un-deprecate qdev_init_nofail() (2015-06-19 19:14:32 +0200) ---------------------------------------------------------------- QOM infrastructure fixes and device conversions * Changes to name string ownership for alias properties * Improvements around enum properties * Cleanups around -object handling * New helper functions * Cleanups of qdev init helper functions * Add path argument to qom-tree script * QTest cleanup to use new qtest_add_data_func() consistently ---------------------------------------------------------------- Andreas Färber (1): tests: Use qtest_add_data_func() consistently Daniel P. Berrange (8): backends: Fix typename of 'policy' enum property in hostmem obj doc: Document user creatable object types in help text vl: Create (most) objects before creating chardev backends qom: Add helper function for getting user objects root qom: Add object_new_with_props() / object_new_withpropv() helpers qom: Make enum string tables const-correct qom: Add an object_property_add_enum() helper function qom: Don't pass string table to object_get_enum() function Eduardo Habkost (2): qom: strdup() target property name on object_property_add_alias() qdev: Free property names after registering gpio aliases Markus Armbruster (2): qdev: Deprecated qdev_init() is finally unused, drop qdev: Un-deprecate qdev_init_nofail() Martin Cerveny (1): scripts: Add support for path as argument of qom-tree backends/hostmem.c | 22 ++-- hw/core/qdev.c | 49 +++---- include/hw/qdev-core.h | 7 +- include/qapi/util.h | 2 +- include/qapi/visitor-impl.h | 6 +- include/qapi/visitor.h | 2 +- include/qemu/compiler.h | 6 + include/qom/object.h | 163 +++++++++++++++++++++++- iothread.c | 4 +- numa.c | 4 +- qapi/qapi-dealloc-visitor.c | 3 +- qapi/qapi-util.c | 2 +- qapi/qapi-visit-core.c | 6 +- qemu-options.hx | 70 +++++++--- qmp.c | 6 +- qom/object.c | 196 +++++++++++++++++++++++++++- scripts/qapi-types.py | 4 +- scripts/qmp/qom-tree | 9 +- tests/.gitignore | 1 + tests/Makefile | 5 +- tests/ahci-test.c | 9 +- tests/check-qom-proplist.c | 302 ++++++++++++++++++++++++++++++++++++++++++++ tests/e1000-test.c | 4 +- tests/eepro100-test.c | 5 +- tests/endianness-test.c | 18 +-- tests/pc-cpu-test.c | 13 +- tests/qom-test.c | 4 +- vl.c | 40 +++++- 28 files changed, 837 insertions(+), 125 deletions(-) create mode 100644 tests/check-qom-proplist.c