This patch exposes the thread id associated with each cpu through the already well known info cpus interface.
Signed-off-by: Glauber Costa <[EMAIL PROTECTED]> --- qemu/monitor.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/monitor.c b/qemu/monitor.c index 0874671..4ee0b19 100644 --- a/qemu/monitor.c +++ b/qemu/monitor.c @@ -335,6 +335,7 @@ static void do_info_cpus(void) if (env->halted) term_printf(" (halted)"); #endif + term_printf(" thread_id=%d", env->thread_id); term_printf("\n"); } } -- 1.5.0.6 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel