[PATCH 2/4] docs: Lift restriction on running API from the event loop thread

Andrea Bolognani abologna at redhat.com
Fri Mar 12 10:43:29 UTC 2021


On Mon, 2021-03-01 at 12:49 +0100, Michal Privoznik wrote:
> +++ b/docs/drvqemu.html.in
> @@ -158,8 +158,10 @@ qemu+ssh://root@example.com/system   (remote access, SSH tunnelled)
>        in mind, applications must <strong>NEVER</strong> invoke API
>        calls from the event loop thread itself, only other threads.
>        Not following this rule will lead to deadlocks in the API.
> -      This restriction is intended to be lifted in a future release
> -      of libvirt, once QMP processing moves to a dedicated thread.
> +      This restriction was lifted starting from 6.2.0 release, when
> +      QMP processing moved to a dedicated thread. However, it is
> +      important to let the event loop run after each API call, even
> +      the ones made from the vent loop thread itself.

s/ vent/ event/g

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list