Home
last modified time | relevance | path

Searched hist:"10 bcb0d9" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/system/
H A Ddma-helpers.c10bcb0d9 Tue Dec 05 12:19:59 CST 2023 Stefan Hajnoczi <stefanha@redhat.com> scsi: assert that callbacks run in the correct AioContext

Since the removal of AioContext locking, the correctness of the code
relies on running requests from a single AioContext at any given time.

Add assertions that verify that callbacks are invoked in the correct
AioContext.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20231205182011.1976568-3-stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c10bcb0d9 Tue Dec 05 12:19:59 CST 2023 Stefan Hajnoczi <stefanha@redhat.com> scsi: assert that callbacks run in the correct AioContext

Since the removal of AioContext locking, the correctness of the code
relies on running requests from a single AioContext at any given time.

Add assertions that verify that callbacks are invoked in the correct
AioContext.

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