diff options
author | 2024-04-08 11:00:44 -0500 | |
---|---|---|
committer | 2024-04-25 12:59:19 -0500 | |
commit | 4fa333e08dd96395a99ea8dd9e4c73a29dd23344 (patch) | |
tree | fdde72d666e5d4dc1f2334cda9925ff5d03219df /scripts/coverage/compare_gcov_json.py | |
parent | nbd/server: do not poll within a coroutine context (diff) | |
download | qemu-4fa333e08dd96395a99ea8dd9e4c73a29dd23344.tar.xz qemu-4fa333e08dd96395a99ea8dd9e4c73a29dd23344.zip |
nbd/server: Mark negotiation functions as coroutine_fn
nbd_negotiate() is already marked coroutine_fn. And given the fix in
the previous patch to have nbd_negotiate_handle_starttls not create
and wait on a g_main_loop (as that would violate coroutine
constraints), it is worth marking the rest of the related static
functions reachable only during option negotiation as also being
coroutine_fn.
Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240408160214.1200629-6-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
[eblake: drop one spurious coroutine_fn marking]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions