On Tue, Oct 04, 2022 at 12:33:30PM +0100, Alex Bennée wrote:
> Special care needs to be taken in ensuring locks are in a consistent
> state across fork events. Add helpers so the plugin system can ensure
> that.
> 
> Signed-off-by: Alex Bennée <[email protected]>
> Fixes: https://gitlab.com/qemu-project/qemu/-/issues/358
> ---
>  include/qemu/plugin.h | 24 ++++++++++++++++++++++++
>  linux-user/main.c     |  2 ++
>  plugins/core.c        | 20 ++++++++++++++++++++
>  3 files changed, 46 insertions(+)

Reviewed-by: Daniel P. Berrangé <[email protected]>
Tested-by: Daniel P. Berrangé <[email protected]>

I confirm it fixes the plugin hangs from #358.

Much much much less frequently, I can still hit the g_slice hangs
described in

 https://gitlab.com/qemu-project/qemu/-/issues/285


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to