OSDN Git Service

monitor: add missing coroutine_fn annotation
authorAlberto Faria <afaria@redhat.com>
Thu, 13 Oct 2022 12:36:50 +0000 (14:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 27 Oct 2022 18:14:11 +0000 (20:14 +0200)
commit6894ee2bee20fd22055f8a7337ef465efab0c823
tree90fb506937c69ef48926e05243db5037aa56bec1
parent7c85803c496744c30d070a37be2faf2070d417d3
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>
block/monitor/block-hmp-cmds.c
include/block/block-hmp-cmds.h
include/monitor/hmp.h