[PATCH 1/3] vhost: robustify virtqueue access lock asserts
Eelco Chaudron
echaudro at redhat.com
Fri Oct 27 10:59:20 CEST 2023
On 23 Oct 2023, at 11:55, David Marchand wrote:
> A simple comment in vhost_user_msg_handler() is not that robust.
>
> Add a lock_all_qps property to message handlers so that their
> implementation can add a build check and assert a vq is locked.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
This change looks good to me.
Acked-by: Eelco Chaudron <echaudro at redhat.com>
More information about the dev
mailing list