qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] racing between pause_all_vcpus() and qemu_cpu_stop()


From: Peter Maydell
Subject: Re: [Qemu-devel] racing between pause_all_vcpus() and qemu_cpu_stop()
Date: Tue, 2 Oct 2018 10:04:10 +0100

On 2 October 2018 at 09:58, Paolo Bonzini <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]