mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-27 11:07:26 +00:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| common.py | ||
| events.py | ||
| types.py | ||
| visit.py | ||