Thanks for the suggestions, guys! I will take a look at libvmi. As an aside, can someone tell me where in the qemu source can I inspect each guest instruction? I want all guest instructions to first go through my code.
Ankur Dahiya On Tue, Nov 8, 2011 at 3:18 PM, Vasiliy Tolstov <v.tols...@selfip.ru> wrote: > 2011/11/8 Andreas Färber <afaer...@suse.de>: > > Am 08.11.2011 06:27, schrieb 陳韋任: > >>>> I am running a linux guest inside qemu and I need to determine what > process, > >>>> thread is currently running in the guest. > >>>> How should I do this? Any suggestions? Or can anyone point me to the > >>>> relevant areas in qemu's source. > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >> I guess he want to know how to know which process is running in the > >> guest OS from QEMU's perspective. > > > > And QEMU doesn't know or care, as a processor emulator. > > Therefore in some way the guest's cooperation is needed. > > > > Try to see on libvmi (successor of xenaccess). Tou need vm > introspection that can be possible via libvmi. > > > -- > Vasiliy Tolstov, > Clodo.ru > e-mail: v.tols...@selfip.ru > jabber: v...@selfip.ru >