Add a thread id variable
commit80d52776b077014180227427526f66e83ad71515
authorGlauber Costa <gcosta@redhat.com>
Wed, 5 Mar 2008 20:01:09 +0000 (5 17:01 -0300)
committerAvi Kivity <avi@qumranet.com>
Thu, 6 Mar 2008 06:53:53 +0000 (6 08:53 +0200)
tree5ed99b84ccaf5cf8ad8b78da600e6eb1584dcb68
parente17b4d4c15d0e7f730ab6f315530da1e89d42493
Add a thread id variable

This patch introduces a "thread_id" variable to CPUState.
It's duty will be to hold the process, or more generally, thread
id of the current executing cpu

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
cpu-defs.h
exec.c