[libvirt] [PATCH RFC 06/48] Implement virStreamRecvFlags to some drivers
Daniel P. Berrange
berrange at redhat.com
Mon Jun 27 17:11:59 UTC 2016
On Wed, Jun 22, 2016 at 04:43:23PM +0200, Michal Privoznik wrote:
> We have three virStreamDriver-s currently in our tree.
> virFDStream, remote driver and ESX driver.f or now, support for
> remote driver and ESX driver is sufficient, because
> implementation for virFDStream is going to be supplied later as
> it needs to be slightly different.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/esx/esx_stream.c | 16 +++++++++++++++-
> src/remote/remote_driver.c | 21 +++++++++++++++++----
> 2 files changed, 32 insertions(+), 5 deletions(-)
ACK
>
> +static int
> +remoteStreamRecv(virStreamPtr st,
> + char *data,
> + size_t nbytes)
> +{
> + return remoteStreamRecv(st, data, nbytes);
Err, infinite loop ?
> +}
> +
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list