qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Fetching & Translating Instructions


From: Mohammad Al-Saleh
Subject: [Qemu-devel] Fetching & Translating Instructions
Date: Tue, 26 Aug 2008 11:32:31 -0700 (PDT)

Hi;

I am really confused about what is going on in fetching and then translating instructions. First of all, the 'start_pc' parameter of the function 'disas_insn'  in target-i386/translator.c contains a virtual address but it is used directly to get guest instruction code! how come? should the instruction be read from guest physical memory or from host memory? I need the exact physical memory of the guest from which we fetch an instruction to be executed?
Any help is very appreciated...

Thanks,

...Mohammed



reply via email to

[Prev in Thread] Current Thread [Next in Thread]