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