diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2017-07-12 17:51:43 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 12:04:35 +0200 |
commit | cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5 (patch) | |
tree | 03cf4e0264a6eb1f875395785c152792c5de6e7f /exec.c | |
parent | 406bc339b0505fcfc2ffcbca1f05a3756e338a65 (diff) | |
download | qemu-cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5.zip qemu-cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5.tar.gz qemu-cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5.tar.bz2 |
mttcg/i386: Patch instruction using async_safe_* framework
In mttcg, calling pause_all_vcpus() during execution from the
generated TBs causes a deadlock if some vCPU is waiting for exclusive
execution in start_exclusive(). Fix this by using the aync_safe_*
framework instead of pausing vcpus for patching instructions.
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <20170712215143.19594-2-bobby.prani@gmail.com>
[Get rid completely of the TCG-specific code. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions