From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45785 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVNuZ-0004X7-FG for qemu-devel@nongnu.org; Wed, 22 Dec 2010 07:35:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVNuY-0006cC-5o for qemu-devel@nongnu.org; Wed, 22 Dec 2010 07:35:19 -0500 Received: from mail.codesourcery.com ([38.113.113.100]:55165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVNuX-0006bl-SV for qemu-devel@nongnu.org; Wed, 22 Dec 2010 07:35:18 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Deterministic replay Date: Wed, 22 Dec 2010 12:35:13 +0000 References: <002101cba1ca$2cae3070$860a9150$@Dovgaluk@ispras.ru> In-Reply-To: <002101cba1ca$2cae3070$860a9150$@Dovgaluk@ispras.ru> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201012221235.14145.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Pavel Dovgaluk > Hello. > > I am working on implementation of deteministic execution replay technology > for Qemu. It should be similar to VMWare's replay debugging. > > To make alarm timer (which invokes host_alarm_handler function) > determinisic, I changed it's behavior: it sets flag, that execution should > be stopped and this flag is checked before every instruction in the > translated code. You don't need to do this. A much better solution is to not use the host timer at all. See -icount. Paul