In order to fix rhbz#1243228, I am "backporting" a few fixes from libvirt-glib/libvirt-glib-events.c to virt-viewer, as the events file used for both seems to be pretty much the same (with the same issues as well, sometimes fixed in one, sometimes fixed in the other). All patches have a link for the relevant commit in the libvirt-glib. These patches were already tested by the reporter of rhbz#1243228. Fabiano Fidêncio (6): events: Register event using GOnce to avoid multiple initializations events: remove timeout and handle from arrays glib-compat: Add g_mutex_new() events: protect "handles" and "timeouts" agins concurrent access events: Don't create glib IO watch for disabled handles events: Allow zero timeouts for timer src/virt-glib-compat.h | 4 + src/virt-viewer-events.c | 224 +++++++++++++++++++++++++++++++++-------------- 2 files changed, 163 insertions(+), 65 deletions(-) -- 2.4.4 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list