diff options
| author | Pranith Kumar | 2017-07-12 23:51:43 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-07-14 12:04:35 +0200 |
| commit | cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5 (patch) | |
| tree | 03cf4e0264a6eb1f875395785c152792c5de6e7f /include | |
| parent | Revert "exec.c: Fix breakpoint invalidation race" (diff) | |
| download | qemu-cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5.tar.gz qemu-cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5.tar.xz qemu-cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
