diff options
author | Yishai Hadas <[email protected]> | 2022-12-06 10:34:27 +0200 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-12-06 12:36:44 -0700 |
commit | 0e7caa65d707b93fbb4322c6313f739fa9103dfa (patch) | |
tree | 4524ccc75ef1e8fdba06aecf25dc9cc8d9c2b7b2 /scripts/gdb/linux/utils.py | |
parent | 4db52602a6074e9cc523500b8304600ff63e7b85 (diff) |
vfio/mlx5: Enforce a single SAVE command at a time
Enforce a single SAVE command at a time.
As the SAVE command is an asynchronous one, we must enforce running only
a single command at a time.
This will preserve ordering between multiple calls and protect from
races on the migration file data structure.
This is a must for the next patches from the series where as part of
PRE_COPY we may have multiple images to be saved and multiple SAVE
commands may be issued from different flows.
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions