Home
last modified time | relevance | path

Searched hist:ae400dbb8f439021bca5b8a7f60907bbd2cf5291 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff ae400dbb8f439021bca5b8a7f60907bbd2cf5291 Thu May 25 07:47:03 CDT 2023 Kevin Wolf <kwolf@redhat.com> block: Clarify locking rules for bdrv_open(_inherit)()

These functions specify that the caller must hold the "@filename
AioContext lock". This doesn't make sense, file names don't have an
AioContext. New BlockDriverStates always start in the main AioContext,
so this is what we really need here.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230525124713.401149-3-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>