diff options
author | Juan Quintela <quintela@redhat.com> | 2023-11-03 08:42:45 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-11-03 10:48:37 +0100 |
commit | 0983125b405c479a6e7eb49b81cfdae969e28cee (patch) | |
tree | ce2c737ede80309780212e708ae4ca5c6d15dec7 /tests/migration/guestperf/hardware.py | |
parent | ceddc48278a006e3f13b8a1881676cfb3a1ca99a (diff) |
migration: Unlock mutex in error case
We were not unlocking bitmap mutex on the error case. To fix it
forever change to enclose the code with WITH_QEMU_LOCK_GUARD().
Coverity CID 1523750.
Fixes: a2326705e5 ("migration: Stop migration immediately in RDMA error paths")
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231103074245.55166-1-quintela@redhat.com>
Diffstat (limited to 'tests/migration/guestperf/hardware.py')
0 files changed, 0 insertions, 0 deletions