summary refs log tree commit diff stats
path: root/include/migration/misc.h
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2025-03-04 23:03:39 +0100
committerCédric Le Goater <clg@redhat.com>2025-03-06 06:47:33 +0100
commitd19cc4dca0b21af95fee36a2ddad34eb4bd6b67f (patch)
tree10081d96a50976b078b3f6b23bc37986e0234afa /include/migration/misc.h
parentf588f3c46ae278661cdad5f1198a455e3ec9f910 (diff)
downloadfocaccia-qemu-d19cc4dca0b21af95fee36a2ddad34eb4bd6b67f.tar.gz
focaccia-qemu-d19cc4dca0b21af95fee36a2ddad34eb4bd6b67f.zip
migration/multifd: Make multifd_send() thread safe
multifd_send() function is currently not thread safe, make it thread safe
by holding a lock during its execution.

This way it will be possible to safely call it concurrently from multiple
threads.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Link: https://lore.kernel.org/qemu-devel/dd0f3bcc02ca96a7d523ca58ea69e495a33b453b.1741124640.git.maciej.szmigiero@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/migration/misc.h')
0 files changed, 0 insertions, 0 deletions