Re: [Qemu-devel] PC value translation from guest VA to host VA.

2014-02-12 Thread Hu Tao
On Wed, Feb 12, 2014 at 05:42:00PM +0530, Gaurav Sharma wrote: > To elaborate a bit more ... > If the target is arm, in disas_arm_insn function we fetch the opcode as per > the > pc value : > insn = arm_ldl_code(env, s->pc, s->bswap_code) > > This PC value i could trace back and see actually come

Re: [Qemu-devel] PC value translation from guest VA to host VA.

2014-02-12 Thread Gaurav Sharma
To elaborate a bit more ... If the target is arm, in disas_arm_insn function we fetch the opcode as per the pc value : insn = arm_ldl_code(env, s->pc, s->bswap_code) This PC value i could trace back and see actually come from the cpu register set for arm regs[15]. which is the pc value. Is this PC

[Qemu-devel] PC value translation from guest VA to host VA.

2014-02-11 Thread Gaurav Sharma
Can anyone point it out to me where is the pc value translated from guest virtual address to host virtual address ? Thanks, Gaurav