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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxx>
> ---
>  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;
> +};
> 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux