Albert Esteve writes:
> On Tue, Feb 20, 2024 at 11:39 AM Manos Pitsidianakis
> wrote:
>
> Hello Albert,
>
> This is a point of confusion for me; Volker recently pointed out in a
> patch for virtio-snd that all its code runs under the BQL.
>
> Hello Manos,
>
> I updated it to QemuMutex afte
On Tue, Feb 20, 2024 at 11:39 AM Manos Pitsidianakis <
manos.pitsidiana...@linaro.org> wrote:
> Hello Albert,
>
> This is a point of confusion for me; Volker recently pointed out in a
> patch for virtio-snd that all its code runs under the BQL.
Hello Manos,
I updated it to QemuMutex after a sug
Hello Albert,
This is a point of confusion for me; Volker recently pointed out in a
patch for virtio-snd that all its code runs under the BQL. Is this code
ever called without BQL, for example do the backend read/write functions
from vhost-user.c run without the BQL?
On Mon, 19 Feb 2024 16:34
Change GMutex by QemuMutex to be able to use
lock contexts with `WITH_QEMU_LOCK_GUARD`.
As the lock needs to be initialised and there
is no central point for initialisation, add
an init public function and call it from
virtio.c, each time a new backend structure
is initialised.
Signed-off-by: Alb