unicorn/qemu/qapi
Markus Armbruster d7da652d4e
qapi: Improve a QObject input visitor error message
The QObject input visitor has three error message formats:

* Parameter '%s' is missing
* "Invalid parameter type for '%s', expected: %s"
* "QMP input object member '%s' is unexpected"

The '%s' are member names (or "null", but I'll fix that later).

The last error message calls the thing "QMP input object member"
instead of "parameter". Misleading when the visitor is used on
QObjects that don't come from QMP. Change it to "Parameter '%s' is
unexpected".

Backports commit 910f738b851a263396fc85b2052e47f884ffead3 from qemu
2018-03-02 11:29:02 -05:00
..
common.json qapi: Add alias for ErrorClass 2018-02-19 20:38:51 -05:00
Makefile.objs qapi: rename *qmp-*-visitor* to *qobject-*-visitor* 2018-02-26 15:42:37 -05:00
qapi-clone-visitor.c qapi: rename *qmp-*-visitor* to *qobject-*-visitor* 2018-02-26 15:42:37 -05:00
qapi-dealloc-visitor.c qapi: Add new visit_free() function 2018-02-25 01:05:41 -05:00
qapi-visit-core.c qapi: Add new clone visitor 2018-02-25 01:34:12 -05:00
qobject-input-visitor.c qapi: Improve a QObject input visitor error message 2018-03-02 11:29:02 -05:00
qobject-output-visitor.c qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2018-02-27 08:05:33 -05:00
string-input-visitor.c string-input-visitor: Favor new visit_free() function 2018-02-25 01:08:04 -05:00