Re: [PATCH 01/10] hw/audio/virtio-sound: remove command and stream mutexes

2024-01-05 Thread Marc-André Lureau
Hi On Fri, Jan 5, 2024 at 12:35 AM Volker Rümelin wrote: > > All code in virtio-snd.c runs with the BQL held. Remove the > command queue mutex and the stream queue mutexes. The qatomic > functions are also not needed. I am not comfortable with this assertion. Someone more familiar with virtio.c

[PATCH 01/10] hw/audio/virtio-sound: remove command and stream mutexes

2024-01-04 Thread Volker Rümelin
All code in virtio-snd.c runs with the BQL held. Remove the command queue mutex and the stream queue mutexes. The qatomic functions are also not needed. Signed-off-by: Volker Rümelin --- hw/audio/virtio-snd.c | 294 +++--- include/hw/audio/virtio-snd.h | 3 -