qdev-properties-system: Lock AioContext for blk_insert_bs()
commit415275aed959cd5c766a98b9f0eba54278a7adf5
authorKevin Wolf <kwolf@redhat.com>
Mon, 5 Jun 2023 08:57:02 +0000 (5 10:57 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 28 Jun 2023 06:46:05 +0000 (28 08:46 +0200)
tree0575f3c24fa60275931b912d9a2ce2f4a8572036
parent23e6c3c41b4f44d2e42a21846981bb70b9ff6d8a
qdev-properties-system: Lock AioContext for blk_insert_bs()

blk_insert_bs() requires that callers hold the AioContext lock for the
node that should be inserted. Take it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230605085711.21261-3-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/core/qdev-properties-system.c