[PATCH 1/3] vhost: robustify virtqueue access lock asserts

Maxime Coquelin maxime.coquelin at redhat.com
Tue Dec 5 10:02:24 CET 2023


s/robustify/enhance/ ?

On 10/23/23 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>
> ---
>   lib/vhost/vhost_user.c | 110 +++++++++++++++++++----------------------
>   1 file changed, 51 insertions(+), 59 deletions(-)
> 

I can reword the commit title while applying:

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list