summaryrefslogtreecommitdiff
path: root/ui/sdl.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-08-22 18:35:25 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 14:37:03 -0500
commitfa7d1867578b6a1afc39d4ece8629a1e92baddd7 (patch)
tree4ade5ae34193bff107943c0cf7ec1a4ee34f976a /ui/sdl.c
parent78dd9ff6328eca1aa17fb1bc4d63f30b44ff0b6f (diff)
downloadqemu-fa7d1867578b6a1afc39d4ece8629a1e92baddd7.tar.gz
Replace qemu_system_cond with VCPU stop mechanism
We can express the VCPU thread wakeup with the stop mechanism, saving both qemu_system_ready and the qemu_system_cond. For KVM threads, we can just enter the main loop as long as the thread is stopped. The central TCG thread is better held back before the loop as there can be side effects of the services called even when all CPUs are stopped. Creating VCPUs in stopped state will also be required for proper CPU hotplugging support. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui/sdl.c')
0 files changed, 0 insertions, 0 deletions