From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzfZv-0001DX-SW for qemu-devel@nongnu.org; Thu, 27 Oct 2016 03:58:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzfZu-000819-T3 for qemu-devel@nongnu.org; Thu, 27 Oct 2016 03:58:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48076) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzfZu-00080r-Ng for qemu-devel@nongnu.org; Thu, 27 Oct 2016 03:58:22 -0400 References: <20160926080757.6992.74311.stgit@PASHA-ISP> <20160926080821.6992.94562.stgit@PASHA-ISP> <8e3cde4a-eb46-94e8-ed7e-d77336b40511@redhat.com> From: Paolo Bonzini Message-ID: <578c8106-0e12-6e98-be88-7bd383a46bec@redhat.com> Date: Thu, 27 Oct 2016 09:58:17 +0200 MIME-Version: 1.0 In-Reply-To: <8e3cde4a-eb46-94e8-ed7e-d77336b40511@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 4/9] record/replay: add network support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang , Pavel Dovgalyuk , qemu-devel@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, quintela@redhat.com, mst@redhat.com On 27/10/2016 05:36, Jason Wang wrote: >=20 >=20 > On 2016=E5=B9=B409=E6=9C=8826=E6=97=A5 16:08, Pavel Dovgalyuk wrote: >> This patch adds support of recording and replaying network packets in >> irount rr mode. >> >> Record and replay for network interactions is performed with the >> network filter. >> Each backend must have its own instance of the replay filter as follow= s: >> -netdev user,id=3Dnet1 -device rtl8139,netdev=3Dnet1 >> -object filter-replay,id=3Dreplay,netdev=3Dnet1 >> >> Replay network filter is used to record and replay network packets. Wh= ile >> recording the virtual machine this filter puts all packets coming from >> the outer world into the log. In replay mode packets from the log are >> injected into the network device. All interactions with network backen= d >> in replay mode are disabled. >> >> v5 changes: >> - using iov_to_buf function instead of loop >> >> Signed-off-by: Pavel Dovgalyuk >> --- >=20 > Reviewed-by: Jason Wang Jason, please merge this yourself through the net tree. Thanks, Paolo