[libvirt] [PATCH 01/11] Support callbacks on virStream APIs in remote driver client

Daniel Veillard veillard at redhat.com
Wed Nov 3 10:57:32 UTC 2010

On Tue, Nov 02, 2010 at 05:49:05PM +0000, Daniel P. Berrange wrote:
> The current remote driver code for streams only supports
> blocking I/O mode. This is fine for the usage with migration
> but is a problem for more general use cases, in particular
> bi-directional streams.
> This adds supported for the stream callbacks and non-blocking
> I/O. with the minor caveat is that it doesn't actually do
> non-blocking I/O for sending stream data, only receiving it.
> A future patch will try to do non-blocking sends, but this is
> quite tricky to get right.
> * src/remote/remote_driver.c: Allow non-blocking I/O for
>   streams and support callbacks
> ---
>  src/remote/remote_driver.c |  188 ++++++++++++++++++++++++++++++++++++++++----
>  1 files changed, 172 insertions(+), 16 deletions(-)

  ACK, looks fine,


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

More information about the libvir-list mailing list