On Thu, Dec 3, 2009 at 12:29 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > On 12/02/2009 02:48 PM, Glauber Costa wrote: >> >> + if (env == qemu_get_current_env()) { > > Will always be false for TCG + iothread. What's wrong with > qemu_cpu_self(env)? It appears to do the same, and it would also make the > whole thread-local storage stuff redundant. > Indeed. I'll turn to qemu_cpu_self. thanks
-- Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."