Re: [Qemu-devel] [PATCH] cpus: tcg: fix never exiting loop on unplug

2018-04-25 Thread Paolo Bonzini
On 25/04/2018 15:18, Cédric Le Goater wrote: > Commit 9b0605f9837b ("cpus: tcg: unregister thread with RCU, fix > exiting of loop on unplug") changed the exit condition of the loop in > the vCPU thread function but forgot to remove the beginning 'while (1)' > statement. The resulting code : > >

[Qemu-devel] [PATCH] cpus: tcg: fix never exiting loop on unplug

2018-04-25 Thread Cédric Le Goater
Commit 9b0605f9837b ("cpus: tcg: unregister thread with RCU, fix exiting of loop on unplug") changed the exit condition of the loop in the vCPU thread function but forgot to remove the beginning 'while (1)' statement. The resulting code : while (1) { ... } while