summaryrefslogtreecommitdiffstats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorStefan Hajnoczi2018-12-13 12:24:34 +0100
committerKevin Wolf2018-12-14 11:55:02 +0100
commit537c3d4f64297911a5b70a151926cd7851bbf752 (patch)
treeb2a015b028fa9d0c8c71b1be4693f32fdece07ca /scripts/qapi
parentiotests: make 235 work on s390 (and others) (diff)
downloadqemu-537c3d4f64297911a5b70a151926cd7851bbf752.tar.gz
qemu-537c3d4f64297911a5b70a151926cd7851bbf752.tar.xz
qemu-537c3d4f64297911a5b70a151926cd7851bbf752.zip
block/mirror: add missing coroutine_fn annotations
Marking a function coroutine_fn currently has no effect on the compiler, but it documents that this function must be called from coroutine context and it may yield. This is important information for the programmer. Also, if we ever transition to a stackless coroutine implementation, then it's likely that the annotation will become mandatory so the compiler can use the correct calling convention for coroutine functions. Cc: Max Reitz <mreitz@redhat.com> Cc: John Snow <jsnow@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions