qemu-e2k/hw/acpi
Peter Xu 3ab72385b2 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.

Suggested-by: Eric Blake <eblake@redhat.com>
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180815133747.25032-4-peterx@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message rewritten, update to qapi-code-gen.txt corrected]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-08-28 18:21:38 +02:00
..
acpi_interface.c
acpi-stub.c
aml-build.c acpi: fix a comment about aml_call0() 2018-05-20 08:58:58 +03:00
bios-linker-loader.c
core.c qapi: Drop qapi_event_send_FOO()'s Error ** argument 2018-08-28 18:21:38 +02:00
cpu_hotplug.c
cpu.c qapi: Drop qapi_event_send_FOO()'s Error ** argument 2018-08-28 18:21:38 +02:00
ich9.c
ipmi-stub.c
ipmi.c
Makefile.objs
memory_hotplug.c qapi: Drop qapi_event_send_FOO()'s Error ** argument 2018-08-28 18:21:38 +02:00
nvdimm.c nvdimm: make persistence option symbolic 2018-06-11 22:19:57 +03:00
pcihp.c hw: Do not include "exec/ioport.h" if it is not necessary 2018-06-01 14:15:10 +02:00
piix4.c i2c: pm_smbus: Add the ability to force block transfer enable 2018-08-23 18:46:25 +02:00
tco.c
trace-events
vmgenid.c qapi: Empty out qapi-schema.json 2018-03-02 13:45:50 -06:00