Re: [Qemu-devel] Monitoring memory access

2010-07-09 Thread malc
On Fri, 9 Jul 2010, Jun Koi wrote: > On Fri, Jul 9, 2010 at 7:41 PM, malc wrote: > > On Fri, 9 Jul 2010, Jun Koi wrote: > > > >> Hi, > >> > >> I want to monitor memory reading access in Qemu. According to function > >> tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must > >> call

Re: [Qemu-devel] Monitoring memory access

2010-07-09 Thread Jun Koi
On Fri, Jul 9, 2010 at 7:41 PM, malc wrote: > On Fri, 9 Jul 2010, Jun Koi wrote: > >> Hi, >> >> I want to monitor memory reading access in Qemu. According to function >> tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must >> call qemu_ld_helpers[] functions, which in turn calls __

Re: [Qemu-devel] Monitoring memory access

2010-07-09 Thread malc
On Fri, 9 Jul 2010, Jun Koi wrote: > Hi, > > I want to monitor memory reading access in Qemu. According to function > tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must > call qemu_ld_helpers[] functions, which in turn calls __ldX_mmu > functions. > > These __ldX_mmu() function

[Qemu-devel] Monitoring memory access

2010-07-09 Thread Jun Koi
Hi, I want to monitor memory reading access in Qemu. According to function tcg/i386/tcg-target.c::tcg_out_qemu_ld(), all the memory access must call qemu_ld_helpers[] functions, which in turn calls __ldX_mmu functions. These __ldX_mmu() functions are declared in softmmu_template.c, with macro glu