[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu log function to print out the registers of the gue
From: |
Steven |
Subject: |
Re: [Qemu-devel] qemu log function to print out the registers of the guest |
Date: |
Thu, 16 Aug 2012 12:36:10 -0400 |
On Thu, Aug 16, 2012 at 4:02 AM, 陳韋任 (Wei-Ren Chen)
<address@hidden> wrote:
>> I would like to is there any function that could log the register
>> content of the guest machine, like "info registers" in the qemu
>> monitor mode.
>
> Why not check how "info registes" be implemented in QEMU? ;)
> I guess you just have to log env->regs or something like that.
Thanks for pointing this out.
I would like to get a trace of guest memory access. So I can not use
"info registers".
What I want to do is that when tcg fetches a load instruction at
disas_insns(), the guest memory address should be calculated. For
example, the tb has an instruction of mov 0x4(%ebx) %eax.
To calculate the address of 0x4(%ebx), I need to know the value of %ebx.
Is this correct? Thanks.
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
> Homepage: http://people.cs.nctu.edu.tw/~chenwj
- [Qemu-devel] qemu log function to print out the registers of the guest, Steven, 2012/08/16
- Re: [Qemu-devel] qemu log function to print out the registers of the guest, Max Filippov, 2012/08/16
- Re: [Qemu-devel] qemu log function to print out the registers of the guest, Steven, 2012/08/16
- Re: [Qemu-devel] qemu log function to print out the registers of the guest, Max Filippov, 2012/08/16
- Re: [Qemu-devel] qemu log function to print out the registers of the guest, Max Filippov, 2012/08/16