[Qemu-devel] [PATCH] mttcg/i386: Patch instruction using async_safe_* framework

2017-02-27 Thread Pranith Kumar
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 CC: Peter Maydell

Re: [Qemu-devel] [PATCH] mttcg/i386: Patch instruction using async_safe_* framework

2017-02-23 Thread Richard Henderson
On 02/23/2017 12:20 PM, Pranith Kumar wrote: 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 instru

Re: [Qemu-devel] [PATCH] mttcg/i386: Patch instruction using async_safe_* framework

2017-02-23 Thread Alex Bennée
Pranith Kumar writes: > 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

[Qemu-devel] [PATCH] mttcg/i386: Patch instruction using async_safe_* framework

2017-02-22 Thread Pranith Kumar
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: Richard Henderson CC: Peter Mayde