unicorn/qemu/scripts/qapi
Peter Xu 9c05496958
qapi: Drop qapi_event_send_FOO()'s Error ** argument
The generated qapi_event_send_FOO() take an Error ** argument. They
can't actually fail, because all they do with the argument is passing it
to functions that can't fail: the QObject output visitor, and the
@qmp_emit callback, which is either monitor_qapi_event_queue() or
event_test_emit().

Drop the argument, and pass &error_abort to the QObject output visitor
and @qmp_emit instead.

Backports commit 3ab72385b21d8d66df3f5fea42097ce264dc9d6b from qemu
2018-09-25 21:11:35 -04:00
..
__init__.py qapi-gen: New common driver for code and doc generators 2018-03-09 08:47:12 -05:00
common.py qapi: Fix build_params() for empty parameter list 2018-09-25 21:09:42 -04:00
events.py qapi: Drop qapi_event_send_FOO()'s Error ** argument 2018-09-25 21:11:35 -04:00
types.py qapi-types: add #if conditions to types & visitors 2018-07-05 12:12:28 -04:00
visit.py qapi: Fix some pycodestyle-3 complaints 2018-08-16 07:14:40 -04:00