[libvirt] [PATCH v2 19/38] RPC: Introduce virNetStreamSkip

John Ferlan jferlan at redhat.com
Thu May 4 22:08:19 UTC 2017



On 04/20/2017 06:01 AM, Michal Privoznik wrote:
> This is going to be RPC representation for virStreamSkip.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/rpc/virnetprotocol.x   | 4 ++++
>  src/virnetprotocol-structs | 3 +++
>  2 files changed, 7 insertions(+)
> 

As you mentioned earlier - a place no one really wants to touch. I'm
flying blind...

If there's a @flags for the Skip API as I questioned earlier, I assume
this structure would need similar adjustment.

Seems reasonable to me based on what (little) I understand, so ACK, but
probably need to let the other discussion conclude regarding arguments
before adjusting.

John

> diff --git a/src/rpc/virnetprotocol.x b/src/rpc/virnetprotocol.x
> index 9ce33b0..3623588 100644
> --- a/src/rpc/virnetprotocol.x
> +++ b/src/rpc/virnetprotocol.x
> @@ -236,3 +236,7 @@ struct virNetMessageError {
>      int int2;
>      virNetMessageNetwork net; /* unused */
>  };
> +
> +struct virNetStreamSkip {
> +    unsigned hyper length;
> +};
> diff --git a/src/virnetprotocol-structs b/src/virnetprotocol-structs
> index af4526c..a8cc603 100644
> --- a/src/virnetprotocol-structs
> +++ b/src/virnetprotocol-structs
> @@ -42,3 +42,6 @@ struct virNetMessageError {
>          int                        int2;
>          virNetMessageNetwork       net;
>  };
> +struct virNetStreamSkip {
> +        uint64_t                   length;
> +};
> 




More information about the libvir-list mailing list