Still missing: list support, better error messages, general polish This is based on * [PATCH v2 00/24] QemuOpts util/cutils: Fix and clean up number conversions" * [PATCH 00/14] qobject: Cleanups, mostly in tests * [PATCH 0/2] qapi: Improve qobject input visitor error reporting
Branch blockdev-cmdline in my public repo http://repo.or.cz/w/qemu/armbru.git v3: Support non-string types with KEY=VALUE v2: Support KEY=VALUE,... syntax as well. Daniel P. Berrange (1): qapi: Permit scalar type conversions in QObjectInputVisitor Markus Armbruster (4): tests: Fix gcov-files-test-qemu-opts-y, gcov-files-test-logging-y keyval: New keyval_parse() qapi: Factor qobject_input_get_autocast() out of methods block: Crude initial implementation of -blockdev include/qapi/qobject-input-visitor.h | 32 ++- include/qemu/option.h | 3 + qapi/qobject-input-visitor.c | 148 +++++++++++++ qemu-options.hx | 3 + tests/.gitignore | 1 + tests/Makefile.include | 7 +- tests/test-keyval.c | 395 +++++++++++++++++++++++++++++++++++ tests/test-qobject-input-visitor.c | 194 ++++++++++++++++- util/Makefile.objs | 1 + util/keyval.c | 150 +++++++++++++ vl.c | 50 +++++ 11 files changed, 974 insertions(+), 10 deletions(-) create mode 100644 tests/test-keyval.c create mode 100644 util/keyval.c -- 2.7.4