Hi, 'monitor: use qmp_dispatch()' patch broke some iotests expecting a 'missing parameter' error. This series fixes qapi visitors to return this error for all types.
This series should go on top of: https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg05949.html v3: - merge patch 4 (iotest fix) with patch 3 - add r-b tags v2: - add some assert() for expected values in qmp-input-visitor, making it more explicit when qmp_input_get_object() may return NULL - squash the *obj = NULL changes with the missing arg error patch - move qobject_to_*(qobj) calls after checking qobj != NULL - update commit messages Marc-André Lureau (3): qapi: add assert about root value qapi: assert list entry has a value qapi: return a 'missing parameter' error qapi/qmp-input-visitor.c | 72 +++++++++++++++++++++++++++++++++++----------- tests/qemu-iotests/087.out | 2 +- 2 files changed, 56 insertions(+), 18 deletions(-) -- 2.10.0