diff options
author | 2024-02-02 18:28:36 +0800 | |
---|---|---|
committer | 2024-02-05 14:42:10 +0800 | |
commit | 48c0f5d56fd2ff0a0cda23301637b742c690f59a (patch) | |
tree | dec3f9c788f73c26688a706643c8430c959acb7c /scripts/qapi/source.py | |
parent | migration/multifd: Drop stale comment for multifd zero copy (diff) | |
download | qemu-48c0f5d56fd2ff0a0cda23301637b742c690f59a.tar.xz qemu-48c0f5d56fd2ff0a0cda23301637b742c690f59a.zip |
migration/multifd: multifd_send_kick_main()
When a multifd sender thread hit errors, it always needs to kick the main
thread by kicking all the semaphores that it can be waiting upon.
Provide a helper for it and deduplicate the code.
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240202102857.110210-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions