From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj3v8-0007NJ-3X for qemu-devel@nongnu.org; Thu, 24 Mar 2016 07:59:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj3v4-0001Qa-RE for qemu-devel@nongnu.org; Thu, 24 Mar 2016 07:59:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj3v4-0001QW-Ln for qemu-devel@nongnu.org; Thu, 24 Mar 2016 07:59:18 -0400 Date: Thu, 24 Mar 2016 12:59:14 +0100 From: Kevin Wolf Message-ID: <20160324115914.GE4310@noname.redhat.com> References: <20160314074429.4980.34777.stgit@PASHA-ISP> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160314074429.4980.34777.stgit@PASHA-ISP> Subject: Re: [Qemu-devel] [PATCH v5 0/7] Deterministic replay extensions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgalyuk Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, igor.rubinov@gmail.com, mark.burton@greensocs.com, real@ispras.ru, hines@cert.org, qemu-devel@nongnu.org, maria.klimushenkova@ispras.ru, stefanha@redhat.com, pbonzini@redhat.com, batuzovk@ispras.ru, alex.bennee@linaro.org, fred.konrad@greensocs.com Am 14.03.2016 um 08:44 hat Pavel Dovgalyuk geschrieben: > This set of patches is related to the reverse execution and deterministic > replay of qemu execution. It includes recording and replaying of serial devices > and block devices operations. > > With these patches one can record and deterministically replay behavior > of the system with connected disk drives and serial communication ports > (e.g., telnet terminal). > > Patches for deterministic replay of the block devices intercept calls of > bdrv coroutine functions at the top of block drivers stack. > To record and replay block operations the drive must be configured > as following: > -drive file=disk.qcow,if=none,id=img-direct > -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay > -device ide-hd,drive=img-blkreplay > > blkreplay driver should be inserted between disk image and virtual driver > controller. Therefore all disk requests may be recorded and replayed. As Paolo already merged and modified the first three patches, and I don't feel like having another version and there seems to be no better maintainer, I fixed and rebased onto the modified part the remaining four patches and put them into my block tree. Kevin