qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v3 0/3] qapi: return 'missing parameter' error


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH v3 0/3] qapi: return 'missing parameter' error
Date: Fri, 30 Sep 2016 13:59:45 +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.

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




reply via email to

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