Re: [Qemu-devel] How to speed up the CPU logging?

2012-06-09 Thread Yue Chen
Thanks for replying. Do you know any easy way to do that? On Sat, Jun 9, 2012 at 11:02 AM, Blue Swirl wrote: > On Sat, Jun 9, 2012 at 2:37 PM, Yue Chen wrote: > > Hi, Guy, > > > > When I use "log cpu" or "log exec" in the system "-monitor stdio&

[Qemu-devel] How to speed up the CPU logging?

2012-06-09 Thread Yue Chen
Hi, Guy, When I use "*log cpu*" or "*log exec*" in the system "*-monitor stdio*" mode, it's extremely slow(lose my mouse/keyboard control). I used a buffer instead of directly writing log to disk, but even slower. When I give a large memory ("-m 4G") to VM, or set the process priority(chrt -f 99)

Re: [Qemu-devel] Any approach to log the file read/write (I/O data flow) like the "-d in_asm" option?

2012-06-03 Thread Yue Chen
o do this? Thanks so much. On Fri, Jun 1, 2012 at 4:09 AM, Stefan Hajnoczi wrote: > 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 s

[Qemu-devel] Any approach to log the file read/write (I/O data flow) like the "-d in_asm" option?

2012-05-31 Thread Yue Chen
Hi, Any approach to log all the file read/write (I/O data flow) in order, together with the instruction traces in QEMU? Thanks.

Re: [Qemu-devel] Lack of codes in logging

2012-05-28 Thread Yue Chen
Do you know how to use that? When I use* "log(-d) exec" and "log(-d) pcall"*, the "qemu.log" is always empty. On Mon, May 28, 2012 at 10:47 PM, 陳韋任 (Wei-Ren Chen) < che...@iis.sinica.edu.tw> wrote: > On Mon, May 28, 2012 at 10:37:47PM -0400, Yue Chen wrote:

[Qemu-devel] To run (replay) the intermediate micro-ops directly

2012-04-30 Thread Yue Chen
Hi, Does anyone know, how to run(replay) the intermediate micro-ops directly? For example, I have traced some micro-op instructions, and want to see what happens with these instructions(after being translated into host code and then run). Probably with Graphic User Interface. Any approach to do

Re: [Qemu-devel] Debug single program in QEMU

2012-04-05 Thread Yue Chen
tem > mode? User mode shouldn't have the issue you described. For system mode, I > have > no good idea on how to track a specific program running on the guest OS. > > On Thu, Mar 15, 2012 at 09:40:48AM -0400, Yue Chen wrote: > > But it is hard to localize a specific program inste

Re: [Qemu-devel] Debug single program in QEMU

2012-04-03 Thread Yue Chen
instructions come out when I use " -d in_asm " to log? It's hard to find the real instructions of that single program... Thanks. 2012/3/15 陳韋任 > http://qemu.weilnetz.de/qemu-doc.html#QEMU-User-space-emulator > > On Thu, Mar 15, 2012 at 10:42:02PM -0400, Yue Chen wrote: > > S

Re: [Qemu-devel] Debug single program in QEMU

2012-03-15 Thread Yue Chen
stem mode, I > have > no good idea on how to track a specific program running on the guest OS. > > On Thu, Mar 15, 2012 at 09:40:48AM -0400, Yue Chen wrote: > > But it is hard to localize a specific program instead of lots of logs. > > On Mar 15, 2012 4:14 AM, "陳韋任"

Re: [Qemu-devel] Debug single program in QEMU

2012-03-15 Thread Yue Chen
But it is hard to localize a specific program instead of lots of logs. On Mar 15, 2012 4:14 AM, "陳韋任" wrote: > On Thu, Mar 15, 2012 at 01:26:44PM +0700, Mulyadi Santosa wrote: > > On Thu, Mar 15, 2012 at 09:12, Yue Chen wrote: > > > Hi!~ > > > > &g

[Qemu-devel] Debug single program in QEMU

2012-03-14 Thread Yue Chen
Hi!~ Now I'd like to see what the micro-ops (intermediate operations generated by TCG) of a single Linux or Windows program, any approach to do this under QEMU? Thanks.

Re: [Qemu-devel] How to trace all the guest OS instructions and the micro-ops

2012-03-11 Thread Yue Chen
latest version. On Mon, Mar 12, 2012 at 2:20 AM, Chen Yufei wrote: > On Mon, Mar 12, 2012 at 5:43 AM, Mulyadi Santosa > wrote: > > Hi > > > > On Sun, Mar 11, 2012 at 10:12, Yue Chen wrote: > >> I am doing some research based on the QEMU. Does anyone kno

[Qemu-devel] How to trace all the guest OS instructions and the micro-ops

2012-03-11 Thread Yue Chen
Hi! I am doing some research based on the QEMU. Does anyone know how to get (trace) all the instructions of the guest OS, and get all the intermediate micro-ops ? (Not in the 0.9.1 version) Additionally, how to get the whole memory or each process' memory data of the guest OS? I really apprecia