Re: [libvirt] [libvirt-glib 1/3] glib: Don't create glib IO watch for disabled handles

2014-01-29 Thread Daniel P. Berrange
On Tue, Jan 28, 2014 at 02:08:26PM +0100, Christophe Fergeau wrote: It's possible to create a handle to watch for file events which do not watch for any file event. Such a handle can be enabled later with gvir_event_handle_update() by setting some conditions to watch for. When a handle is

[libvirt] [libvirt-glib 1/3] glib: Don't create glib IO watch for disabled handles

2014-01-28 Thread Christophe Fergeau
It's possible to create a handle to watch for file events which do not watch for any file event. Such a handle can be enabled later with gvir_event_handle_update() by setting some conditions to watch for. When a handle is disabled after it has been created, gvir_event_handle_update() makes sure