[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] augment info cpus
From: |
Glauber Costa |
Subject: |
[Qemu-devel] [PATCH] augment info cpus |
Date: |
Wed, 5 Mar 2008 17:01:10 -0300 |
This patch exposes the thread id associated with each
cpu through the already well known info cpus interface.
Signed-off-by: Glauber Costa <address@hidden>
---
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
[Qemu-devel] Re: [PATCH 0/3] Expose thread id through info cpus, Glauber Costa, 2008/03/05