[libvirt PATCH 0/2] glib: Avoid yet another crash due to race in event loop code

Martin Kletzander mkletzan at redhat.com
Thu Mar 4 09:48:09 UTC 2021


Similarly to commit 0db4743645b7 we need to fix the other event loop as well.
To be completely honest I do not completely understand all the details in the
original workaround, so I just hope this is the best way to fix the issue.

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

Martin Kletzander (2):
  util: Move glib event loop workaround to glibcompat
  glib: Use safe glib event workaround in other event loops

 src/qemu/qemu_agent.c     |  2 +-
 src/qemu/qemu_monitor.c   |  2 +-
 src/util/glibcompat.c     | 35 +++++++++++++++++++++++++++++++++++
 src/util/glibcompat.h     | 11 +++++++++++
 src/util/vireventglib.c   | 30 ------------------------------
 src/util/vireventthread.c |  2 +-
 6 files changed, 49 insertions(+), 33 deletions(-)

-- 
2.30.1





More information about the libvir-list mailing list