qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/8] virtio-blk: mark GLOBAL_STATE_CODE functions


From: Stefan Hajnoczi
Subject: Re: [PATCH 5/8] virtio-blk: mark GLOBAL_STATE_CODE functions
Date: Tue, 5 Jul 2022 15:27:08 +0100

On Thu, Jun 09, 2022 at 10:37:24AM -0400, Emanuele Giuseppe Esposito wrote:
> Just as done in the block API, mark functions in virtio-blk
> that are always called in the main loop with BQL held.
> 
> We know such functions are GS because they all are callbacks
> from virtio.c API that has already classified them as GS.
> 
> Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
> ---
>  hw/block/dataplane/virtio-blk.c |  4 ++++
>  hw/block/virtio-blk.c           | 29 +++++++++++++++++++++++++++++
>  2 files changed, 33 insertions(+)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]