Re: [PATCH v4] vhost: enhance virtqueue access lock asserts

2024-03-05 Thread David Marchand
On Tue, Feb 27, 2024 at 11:39 AM 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 > Revie

Re: [PATCH v4] vhost: enhance virtqueue access lock asserts

2024-03-01 Thread Maxime Coquelin
On 2/27/24 11:39, 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 Reviewed-by: Maxime Coquelin