Expose thread_id in info cpus
commitdc7a09cfe47679d89289101cc9eb387c45e48fe7
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 Mar 2011 11:26:31 +0000 (15 12:26 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Mar 2011 20:11:07 +0000 (16 17:11 -0300)
treeb55b3021443336fdb313dc41efe287355e3f21ea
parentf2574737f6a1218b4f4809ad6c8aba935126d90f
Expose thread_id in info cpus

Based on patch by Glauber Costa:

To allow management applications like libvirt to apply CPU affinities to
the VCPU threads, expose their ID via info cpus. This patch provides the
pre-existing and used interface from qemu-kvm.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpu-defs.h
cpus.c
exec.c
monitor.c
os-posix.c
os-win32.c
osdep.h
qmp-commands.hx