[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Moniter The Ram Access On QEMU
From: |
陳韋任 |
Subject: |
Re: [Qemu-devel] Moniter The Ram Access On QEMU |
Date: |
Thu, 29 Mar 2012 11:28:30 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
> Now I want to moniter memory access on QEMU (guest virtual or guest
> physical).
> I found that QEMU will translate arm instructions into TCG instructions,
> and the TCG instructions will be translated into X86 instructions.
>
> The function "tcg_out_op"(tcg/i386/tcg_target.c) will translate the TCG
> instructions into X86 instructions eventually.
> Does the case statement just like "OP_32_64(ld8u)" and
> "INDEX_op_qemu_ld8u".etc includes all memory access routines on X86 view.
> Is it proper for me to add some codes in TCG -> X86 to moniter the ram
> access on QEMU?
TGC ops like qemu_ld/qemu_st is for address translations (guest virtual to
host virtual) in system mode, that's all I can tell.
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