[Qemu-devel] Catching system calls and PIDs in Qemu

2011-11-02 Thread Ricardo Alves
Need Help! I am editing the Qemu source code to be able to catch every system call made by the guest OS and which processes do those system calls. I catch the system calls in the void do_interrupt(CPUState *env1) (op_helper.c) function by accessing the exception index on the cpu environment

Re: [Qemu-devel] Catching system calls and PIDs in Qemu

2011-11-02 Thread shu ming
I don't know how to convert the guest virtual address to a guest physical address. But I believe that the guest virtual address to guest physical address mapping table should belong to the guest OS and stay at guest context. So you should know where is the mapping table in the guest OS by