Allow detecting dynamic auto-read-only which will be possible in qemu 4.1 by fixing and improving QAPI schema queries. Note that the last two patches should not be pushed and will require tweaking once qemu 4.0 is released. Peter Krempa (21): tests: qemumonitorjson: Rename schema validation test cases qemu: qapi: Use automatic memory cleanup tests: qemumonitorjson: Add tests for QAPI schema query qemu: qapi: Fix return value of impossible case in virQEMUQAPISchemaTraverse qemu: qapi: Return schema entry via argument in virQEMUQAPISchemaTraverse qemu: qapi: Modify values returned by virQEMUQAPISchemaPathGet qemu: qapi: Convert virQEMUQAPISchemaTraverse to recursive lookup qemu: qapi: Separate virQEMUQAPISchemaTraverse into functions by object type qemu: qapi: Optimize out some helper functions qemu: qapi: Convert arguments of QAPI traversal helpers to a struct qemu: qapi: Rename local vars in virQEMUQAPISchemaTraverseObject qemu: qapi: Add helpers for virQEMUQAPISchemaTraverseContext qemu: qapi: Use declarative approach for meta-type parsers in virQEMUQAPISchemaTraverse qemu: qapi: Report schema and user errors for QAPI queries qemu: qapi: Prepare for extension of virQEMUQAPISchemaPathGet docs qemu: qapi: Implement worker for introspecting enums qemu: qapi: Implement worker for introspecting builtin types qemu: qapi: Implement worker for introspecting alternate types qemu: qapi: Implement support for 'features' DO NOT PUSH: bump capabilities to 4.0.0 + patches qemu: caps: Add capability for dynamic 'auto-read-only' support for files src/qemu/qemu_capabilities.c | 4 + src/qemu/qemu_capabilities.h | 3 + src/qemu/qemu_qapi.c | 419 ++- .../qemu_4.0.0.x86_64.xml | 2 +- .../caps_4.0.0.x86_64.replies | 3167 +++++++++-------- .../caps_4.0.0.x86_64.xml | 27 +- tests/qemumonitorjsontest.c | 113 +- 7 files changed, 2081 insertions(+), 1654 deletions(-) -- 2.20.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list