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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/virt-tools-list

Attachment: pgprCzTP5m4uD.pgp
Description: PGP signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux