qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/4] qapi: return 'missing parameter' error


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH v2 0/4] qapi: return 'missing parameter' error
Date: Thu, 22 Sep 2016 00:10:14 +0400

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.

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 (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(-)

-- 
2.10.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]