[Qemu-devel] Accessing process ID in QEMU

2007-04-05 Thread Shashidhar Mysore
Hi, I am trying to add commands to the monitor which can enable or disable tracing in QEMU. As arguments to this command I would like to pass the process ID of the process I wish to trace. Can anybody tell me how to access the process ID from within QEMU? Basically, whenever I see an

Re: [Qemu-devel] Accessing process ID in QEMU

2007-04-05 Thread André Braga
I guess you're mixing some concepts. A PID is a concept from the operating system, not from the hardware, emulated or physical. What you could do, however, is experiment with user-mode emulation. Check out the QEMU documentation regarding how to use this mode. You could conceivably mess with