provide cpu_index to env mapping
commit950f147249643635289003d7dd291915ad330b29
authorGlauber Costa <glommer@redhat.com>
Tue, 9 Jun 2009 16:15:18 +0000 (9 12:15 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:36:47 +0000 (16 15:36 -0500)
tree4fbee26dd9364a7bcfac706574e6c7e1afc8d4ef
parent7d9aa9c0994cc6a6c0cf9eeed2f380666d21ba08
provide cpu_index to env mapping

There are some people interested in, given a cpu number,
pick its CPUState. KVM is an example, although not yet in tree.
This patch provides a way of doing that.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-all.h
exec.c