diff options
| author | Alex Bennée | 2017-03-24 16:39:05 +0100 |
|---|---|---|
| committer | Alex Bennée | 2017-03-28 11:52:45 +0200 |
| commit | 0096109052c5b83ee6894c88acedfd59b76d0113 (patch) | |
| tree | 5c334ecd55d69aa1e3555d0530f3a4a38efd5343 /include/exec | |
| parent | ui/console: ensure do_safe_dpy_refresh holds BQL (diff) | |
| download | qemu-0096109052c5b83ee6894c88acedfd59b76d0113.tar.gz qemu-0096109052c5b83ee6894c88acedfd59b76d0113.tar.xz qemu-0096109052c5b83ee6894c88acedfd59b76d0113.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
