]> git.proxmox.com Git - mirror_qemu.git/commit
cpus: remove tcg_halt_cond and tcg_cpu_thread globals
authorKONRAD Frederic <fred.konrad@greensocs.com>
Mon, 10 Aug 2015 15:27:06 +0000 (17:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Sep 2015 13:34:55 +0000 (15:34 +0200)
commitd5f8d61390de8f2acc0da93f184e421a709cb503
treed3f5932bf828b5206ad0f825f2c1d427fc7f6bf3
parent376692b9dc6f02303ee07a4146d08d8727d79c0c
cpus: remove tcg_halt_cond and tcg_cpu_thread globals

This hides the tcg_halt_cond and tcg_cpu_thread global variables
inside qemu_tcg_init_vcpu.  Multi-threaded TCG will need one
QemuCond and one QemuThread per virtual cpu, so it's preferrable
to use cpu->halt_cond and cpu->thread.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Message-Id: <1439220437-23957-9-git-send-email-fred.konrad@greensocs.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c