'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.


- 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 (4):
  qapi: add assert about root value
  qapi: assert list entry has a value
  qapi: return a 'missing parameter' error
  iotests: fix expected error message

 qapi/qmp-input-visitor.c   | 76 +++++++++++++++++++++++++++++++++++-----------
 tests/qemu-iotests/087.out |  2 +-
 2 files changed, 60 insertions(+), 18 deletions(-)


Reply via email to