qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Yue Chen <ycyc321@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Any approach to log the file read/write (I/O data flow) like the "-d in_asm" option?
Date: Fri, 1 Jun 2012 09:09:44 +0100	[thread overview]
Message-ID: <CAJSP0QX8JhV_Cp-3yr21YtxcdrKEno7z7xpASYcOr5CpYCCrpA@mail.gmail.com> (raw)
In-Reply-To: <CAKtBrB5cpS9Py0fqCZxd10mSh2UkiUZ1hjPockvhhAfvGAFfJQ@mail.gmail.com>

On Fri, Jun 1, 2012 at 4:11 AM, Yue Chen <ycyc321@gmail.com> 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

       reply	other threads:[~2012-06-01  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKtBrB5cpS9Py0fqCZxd10mSh2UkiUZ1hjPockvhhAfvGAFfJQ@mail.gmail.com>
2012-06-01  8:09 ` Stefan Hajnoczi [this message]
2012-06-03 20:50   ` [Qemu-devel] Any approach to log the file read/write (I/O data flow) like the "-d in_asm" option? Yue Chen
2012-06-06 10:23     ` Stefan Hajnoczi
2012-06-07  3:24       ` 陳韋任 (Wei-Ren Chen)
2012-06-07 15:02         ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJSP0QX8JhV_Cp-3yr21YtxcdrKEno7z7xpASYcOr5CpYCCrpA@mail.gmail.com \
    --to=stefanha@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=ycyc321@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).