cpus: tcg: unregister thread with RCU, fix exiting of loop on unplug
commit9b0605f9837b68fd56c7fc7c96a3a1a3b983687d
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Jan 2018 16:05:06 +0000 (30 11:05 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Feb 2018 13:09:25 +0000 (7 14:09 +0100)
tree66aa6b3fdb09575c3e0ad11ee8d54fab52ca4535
parentd2831ab065765c8af13a5bb42627150323a96662
cpus: tcg: unregister thread with RCU, fix exiting of loop on unplug

Keep running until cpu_can_run(cpu) becomes false, for consistency
with other acceslerators.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c