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

Christophe Fergeau cfergeau at redhat.com
Fri Jul 17 16:41:36 UTC 2015


An alternative to this series is to revert
https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=296f91c
(which would mean a new dependency not available in EL6). libvirt-glib
mainloop implementation has matured a lot in the mean time as shown by
this series ;)

Christophe

On Fri, Jul 17, 2015 at 04:01:17PM +0200, Fabiano Fidêncio wrote:
> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20150717/c0acf53c/attachment.sig>


More information about the virt-tools-list mailing list