summaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-03-24 15:39:05 +0000
committerAlex Bennée <alex.bennee@linaro.org>2017-03-28 10:52:45 +0100
commit0096109052c5b83ee6894c88acedfd59b76d0113 (patch)
tree5c334ecd55d69aa1e3555d0530f3a4a38efd5343 /cpus.c
parent85390939190e4b7eeba57765e344947c328cd166 (diff)
downloadqemu-0096109052c5b83ee6894c88acedfd59b76d0113.tar.gz
ui/console: use exclusive mechanism directly
The previous commit (8bb93c6f99) using async_safe_run_on_cpu() doesn't work on graphics sub-system which restrict which threads can do GUI updates. Rather the special casing MacOS we just directly call the helper and move all the exclusive handling into do_dafe_dpy_refresh(). The unfortunate bouncing of the BQL is to ensure there is no deadlock as vCPUs waiting on the BQL are kicked into their quiescent state. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions