On 2 October 2018 at 09:58, Paolo Bonzini <pbonz...@redhat.com> wrote: > > First, the reset code should indeed use run_on_cpu (it need not be safe > i.e. stop-the-world; just run it in the vCPU thread). It certainly > doesn't do this right now.
I don't understand this part. We're resetting the entire world: surely we need to stop the entire world first ? (Also, other things use pause_all_vcpus() and hit this race condition, like VM suspend and shutdown.) thanks -- PMM