From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaMvd-0005DW-F2 for qemu-devel@nongnu.org; Fri, 01 Jun 2012 04:09:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SaMvb-0006WE-JF for qemu-devel@nongnu.org; Fri, 01 Jun 2012 04:09:48 -0400 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]:33110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaMvb-0006Vq-9N for qemu-devel@nongnu.org; Fri, 01 Jun 2012 04:09:47 -0400 Received: by lahc1 with SMTP id c1so1523150lah.4 for ; Fri, 01 Jun 2012 01:09:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 1 Jun 2012 09:09:44 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] Any approach to log the file read/write (I/O data flow) like the "-d in_asm" option? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yue Chen Cc: qemu-devel@nongnu.org On Fri, Jun 1, 2012 at 4:11 AM, Yue Chen wrote: > Any approach to log all the file read/write (I/O data flow) in order, > together with the instruction traces in QEMU? Thanks. It sounds like you may be running a *-user target because softmmu (system emulation) has no knowledge of file I/O inside the guest. Please give more details of what you're trying to do if this is incorrect. It sounds like you want strace together with -d in_asm output. Have you seen linux-user/strace.c? Stefan