From: Eric Blake <eblake@redhat.com>
To: Pavel Dovgaluk <Pavel.Dovgaluk@ispras.ru>,
'QEMU Developers' <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [RFC PATCH 18/22] Network packets record/replay
Date: Tue, 01 Jul 2014 08:48:56 -0600 [thread overview]
Message-ID: <53B2CA58.1080906@redhat.com> (raw)
In-Reply-To: <008601cf951f$f0f38650$d2da92f0$@Dovgaluk@ispras.ru>
[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]
On 07/01/2014 05:31 AM, Pavel Dovgaluk wrote:
> These patches implement passing network packets to replay module in
> record mode. New virtual network adapter is impelemented to replay the
s/impelemented/implemented/
> packets when they are read from the log file.
>
> Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@gmail.com>
> ---
Please thread your messages in-reply-to the cover letter.
>
> diff --git a/net/clients.h b/net/clients.h
> index 2e8feda..d245a9f 100644
> --- a/net/clients.h
> +++ b/net/clients.h
> @@ -49,6 +49,10 @@ int net_init_bridge(const NetClientOptions *opts, const char *name,
>
> int net_init_l2tpv3(const NetClientOptions *opts, const char *name,
> NetClientState *peer);
> +
> +int net_init_replay(const NetClientOptions *opts, const char *name,
> + NetClientState *peer);
Indentation is off.
> --- /dev/null
> +++ b/net/net-replay.c
> @@ -0,0 +1,56 @@
> +#include "net/net.h"
Missing a copyright statement and declaration of license. (We prefer
GPLv2+ for new files, unless you have a strong reason otherwise, but
whatever you pick must be compatible with GPLv2-only)
> +++ b/qapi-schema.json
> @@ -2145,6 +2145,15 @@
> '*file': 'str' } }
>
> ##
> +# @NetdevReplayOptions
> +#
> +# Dump network traffic to the log in replay mode.
> +#
> +##
Missing a 'Since: 2.2' designation. Is there any ability to control
which file is used as the logging destination?
> +{ 'type': 'NetdevReplayOptions',
> + 'data': { } }
> +
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2014-07-01 14:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 11:31 [Qemu-devel] [RFC PATCH 18/22] Network packets record/replay Pavel Dovgaluk
2014-07-01 14:48 ` Eric Blake [this message]
2014-07-02 10:31 ` Pavel Dovgaluk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B2CA58.1080906@redhat.com \
--to=eblake@redhat.com \
--cc=Pavel.Dovgaluk@ispras.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.