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