summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-11-03 08:42:45 +0100
committerJuan Quintela <quintela@redhat.com>2023-11-03 10:48:37 +0100
commit0983125b405c479a6e7eb49b81cfdae969e28cee (patch)
treece2c737ede80309780212e708ae4ca5c6d15dec7 /hw/core
parentceddc48278a006e3f13b8a1881676cfb3a1ca99a (diff)
downloadfocaccia-qemu-0983125b405c479a6e7eb49b81cfdae969e28cee.tar.gz
focaccia-qemu-0983125b405c479a6e7eb49b81cfdae969e28cee.zip
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 'hw/core')
0 files changed, 0 insertions, 0 deletions