aboutsummaryrefslogtreecommitdiff
path: root/include/io
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-10-13 10:50:49 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-04-20 11:17:35 +0200
commitcf9d4e68d7bcd333d59d2f3ff876b86dec00281a (patch)
tree9a603a845e405748fa5d77a3886219906eeacd2a /include/io
parentdfae46c3ba4880036a3df0b0aafca0c792b7cb9d (diff)
downloadqemu-cf9d4e68d7bcd333d59d2f3ff876b86dec00281a.zip
qemu-cf9d4e68d7bcd333d59d2f3ff876b86dec00281a.tar.gz
qemu-cf9d4e68d7bcd333d59d2f3ff876b86dec00281a.tar.bz2
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>
Diffstat (limited to 'include/io')
0 files changed, 0 insertions, 0 deletions