Received: from eggs.gnu.org ([2001:4830:134:3::10]:37189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2Hpa-0006y7-3v for qemu-devel@nongnu.org; Wed, 02 Jul 2014 06:32:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2HpS-0001LZ-LD for qemu-devel@nongnu.org; Wed, 02 Jul 2014 06:32:02 -0400 Received: from mail.ispras.ru ([83.149.199.45]:51574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2HpS-0001LQ-A0 for qemu-devel@nongnu.org; Wed, 02 Jul 2014 06:31:54 -0400 From: "Pavel Dovgaluk" References: <008601cf951f$f0f38650$d2da92f0$@Dovgaluk@ispras.ru> <53B2CA58.1080906@redhat.com> In-Reply-To: <53B2CA58.1080906@redhat.com> Date: Wed, 2 Jul 2014 14:31:55 +0400 Message-ID: <014401cf95e0$d8ab6d80$8a024880$@Dovgaluk@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-Language: ru Subject: Re: [Qemu-devel] [RFC PATCH 18/22] Network packets record/replay List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Eric Blake' , 'QEMU Developers' > > --- /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? There is no ability to control packets loggings. All incoming network traffic is written into the replay log, which name is specified in the command line. > > > +{ 'type': 'NetdevReplayOptions', > > + 'data': { } } > > + Pavel Dovgaluk