]> git.ipfire.org Git - thirdparty/libvirt.git/commit
glib: Use safe glib event workaround in other event loops
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 4 Mar 2021 09:00:06 +0000 (10:00 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 5 Mar 2021 09:17:26 +0000 (10:17 +0100)
commit2a490ce5a03ef6607fe55515ba55d6cfd2016bef
tree1ddc4c218d9ec7dc7e4cc03a532d75a7481dcd7c
parent8964564550fda7334a380d76a7c643b75b9d7d8d
glib: Use safe glib event workaround in other event loops

Similarly to the crash workaround:

  commit 0db4743645b7a0611a3c0687f834205c9956f7fc
  Author: Daniel P. BerrangĂ© <berrange@redhat.com>
  Date:   Tue Jul 28 16:52:47 2020 +0100

    util: avoid crash due to race in glib event loop code

we need to do this in the other event loop as crash in that one was also
reported:

  https://bugzilla.redhat.com/show_bug.cgi?id=1931331

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_agent.c
src/qemu/qemu_monitor.c