summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorAlberto Faria2022-10-13 14:36:50 +0200
committerKevin Wolf2022-10-27 20:14:11 +0200
commit6894ee2bee20fd22055f8a7337ef465efab0c823 (patch)
tree90fb506937c69ef48926e05243db5037aa56bec1 /include/block
parentblock: remove incorrect coroutine_fn annotation (diff)
downloadqemu-6894ee2bee20fd22055f8a7337ef465efab0c823.tar.gz
qemu-6894ee2bee20fd22055f8a7337ef465efab0c823.tar.xz
qemu-6894ee2bee20fd22055f8a7337ef465efab0c823.zip
monitor: add missing coroutine_fn annotation
hmp_block_resize and hmp_screendump are defined as a ".coroutine = true" command, so they must be coroutine_fn. Signed-off-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20221013123711.620631-4-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block-hmp-cmds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block-hmp-cmds.h b/include/block/block-hmp-cmds.h
index 50ce0247c3..ba0593c440 100644
--- a/include/block/block-hmp-cmds.h
+++ b/include/block/block-hmp-cmds.h
@@ -38,7 +38,7 @@ void hmp_nbd_server_add(Monitor *mon, const QDict *qdict);
void hmp_nbd_server_remove(Monitor *mon, const QDict *qdict);
void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict);
-void hmp_block_resize(Monitor *mon, const QDict *qdict);
+void coroutine_fn hmp_block_resize(Monitor *mon, const QDict *qdict);
void hmp_block_stream(Monitor *mon, const QDict *qdict);
void hmp_block_passwd(Monitor *mon, const QDict *qdict);
void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict);