Re: [libvirt] [PATCH libvirt-glib 2/5] Add support for creating watches on streams

2011-11-28 Thread Daniel P. Berrange
On Mon, Nov 28, 2011 at 06:52:43PM +0100, Christophe Fergeau wrote: > On Mon, Nov 28, 2011 at 01:13:45PM +, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > The GIO GInputStream/GOutputStream async model for I/O does not > > work for working with non-blocking bi-directional st

Re: [libvirt] [PATCH libvirt-glib 2/5] Add support for creating watches on streams

2011-11-28 Thread Christophe Fergeau
On Mon, Nov 28, 2011 at 01:13:45PM +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > The GIO GInputStream/GOutputStream async model for I/O does not > work for working with non-blocking bi-directional streams. To > allow that to be done more effectively, add an API to allow > main

[libvirt] [PATCH libvirt-glib 2/5] Add support for creating watches on streams

2011-11-28 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The GIO GInputStream/GOutputStream async model for I/O does not work for working with non-blocking bi-directional streams. To allow that to be done more effectively, add an API to allow main loop watches to be registered against streams. Since the libvirt level virStre