Paolo Bonzini cf9d4e68d7 qapi-gen: mark coroutine QMP command functions as coroutine_fn
Coroutine commands have to be declared as coroutine_fn, but the
marker does not show up in the qapi-comands-* headers; likewise, the
marshaling function calls the command and therefore must be coroutine_fn.
Static analysis would want coroutine_fn to match between prototype and
declaration, because in principle coroutines might be compiled to a
completely different calling convention.  So we would like to add the
marker to the header.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-04-20 11:17:35 +02:00
..
2023-02-23 12:49:39 +01:00
2021-04-30 12:59:54 +02:00
2023-02-23 13:01:45 +01:00
2022-01-27 15:17:35 +01:00
2021-10-02 07:33:42 +02:00
2023-02-23 13:01:45 +01:00
2023-02-23 12:49:39 +01:00
2023-02-23 13:01:45 +01:00