[virt-tools-list] [virt-viewer][PATCH 0/6] events: "backport" a few patches from libvirt-glib-events to virt-viewer

Fabiano Fidêncio fidencio at redhat.com
Fri Jul 17 14:01:17 UTC 2015


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




More information about the virt-tools-list mailing list