Re: [Qemu-devel] [PATCH] cpus.c: Fix race condition in cpu_stop_current()

2018-12-10 Thread Jaap Crezee
Hi again, On 12/7/18 4:59 PM, Peter Maydell wrote: > We use cpu_stop_current() to ensure the current CPU has stopped > from places like qemu_system_reset_request(). Unfortunately its > current implementation has a race. It calls qemu_cpu_stop(), > which sets cpu->stopped to true even though the CP

Re: [Qemu-devel] [PATCH] cpus.c: Fix race condition in cpu_stop_current()

2018-12-09 Thread Jaap Crezee
time 1 day 23 hours. I will start testing on my production environment as well. Tested-by: Jaap Crezee regards, Jaap

Re: [Qemu-devel] [PATCH] cpus.c: Fix race condition in cpu_stop_current()

2018-12-08 Thread Jaap Crezee
Hi all, On 12/7/18 4:59 PM, Peter Maydell wrote: > Jaap: could you test whether this patch fixes the issue you > were seeing, please? I have applied the patch and started my test tool against it. It will need some time as I have also seen cases where it only failed after 600 reboots. My testtool