[libvirt] [PATCH v3 12/31] Add new flag to daemonCreateClientStream and virNetClientStreamNew

John Ferlan jferlan at redhat.com
Wed May 17 11:25:47 UTC 2017



On 05/16/2017 10:03 AM, Michal Privoznik wrote:
> Add a new argument to daemonCreateClientStream in order to allow for
> future expansion to mark that a specific stream can be used to skip
> data, such as the case with sparsely populated files. The new flag will
> be the eventual decision point between client/server to decide whether
> both ends can support and want to use sparse streams.
> 
> A new bool 'allowSkip' is added to both _virNetClientStream and
> daemonClientStream in order to perform the tracking.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  daemon/remote.c              | 2 +-
>  daemon/stream.c              | 6 +++++-
>  daemon/stream.h              | 3 ++-
>  src/remote/remote_driver.c   | 6 ++++--
>  src/rpc/gendispatch.pl       | 4 ++--
>  src/rpc/virnetclientstream.c | 6 +++++-
>  src/rpc/virnetclientstream.h | 3 ++-
>  7 files changed, 21 insertions(+), 9 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list