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

2021-03-12 Thread Andrea Bolognani
On Mon, 2021-03-01 at 12:49 +0100, Michal Privoznik wrote: > +++ b/docs/drvqemu.html.in > @@ -158,8 +158,10 @@ qemu+ssh://r...@example.com/system (remote access, SSH > tunnelled) >in mind, applications must NEVER invoke API >calls from the event loop thread itself, only other

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

2021-03-01 Thread Eric Blake
On 3/1/21 5:49 AM, Michal Privoznik wrote: > Since v6.2.0-rc1~238 (and friends) QMP processing was moved to a > per-domain thread. Therefore, it is now safe to call APIs from > the event loop thread (e.g. just like qemu shim is doing in > qemuShimEventLoop(). However, it is still important to let

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

2021-03-01 Thread Michal Privoznik
Since v6.2.0-rc1~238 (and friends) QMP processing was moved to a per-domain thread. Therefore, it is now safe to call APIs from the event loop thread (e.g. just like qemu shim is doing in qemuShimEventLoop(). However, it is still important to let the event loop run after each API call (obviously).