From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ND4Yt-0006fZ-P8 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:12:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ND4Yp-0006cQ-57 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:12:43 -0500 Received: from [199.232.76.173] (port=60973 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND4Yo-0006cD-Pq for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:12:38 -0500 Received: from mail-fx0-f219.google.com ([209.85.220.219]:38603) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ND4Yo-00037n-B5 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:12:38 -0500 Received: by fxm19 with SMTP id 19so7937172fxm.17 for ; Tue, 24 Nov 2009 15:12:35 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1259088675.4b0c2b237c2d6@www.few.vu.nl> References: <1259088675.4b0c2b237c2d6@www.few.vu.nl> Date: Wed, 25 Nov 2009 00:12:35 +0100 Message-ID: <761ea48b0911241512k24bf6e41k60da401055a8d49a@mail.gmail.com> Subject: Re: [Qemu-devel] gen_op_stl_raw_T0_A0 and the softmmu From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: rvn270@few.vu.nl Cc: qemu-devel@nongnu.org On Tue, Nov 24, 2009 at 7:51 PM, wrote: > > I am working on a project that extends qemu to track the memory accesses. > All the functions in target-i386/ops_mem.h are instrumented. > Logging the reads work fine, the writes give are troublesome. > The code that I am tracking contains a lot of xor instructions. > > I have tracked the generation of an example xorl $0x9432bf80, (%esi) inst= ruction > in target-i386/translate.c. The result of the xorl instruction results in= the > generation of op_stl_raw_T0_A0 by gen_op_stl_raw_T0_A0. The op_stl_raw_T0= _A0 > instruction in instrumented in the ops_mem.h header file but somehow noth= ing is > logged. You seem to be using a very old version of QEMU. You'd better use a more recent one if you want to get more help :-) Laurent > So to conclude, =A0the reads are logged, but the writes give me some prob= lems. > Is there any documentation regarding to the softmmu and these memory oper= ands. > > Kind regards, > > Remco > > >