On 13/03/20 02:43, Longpeng (Mike, Cloud Infrastructure Service Product Dept.) wrote: >> diff --git a/cpus.c b/cpus.c >> index b4f8b84b61..1eb7533a91 100644 >> --- a/cpus.c >> +++ b/cpus.c >> @@ -1899,6 +1899,10 @@ void resume_all_vcpus(void) >> { >> CPUState *cpu; >> >> + if (!runstate_is_running()) { >> + return; >> + } >> + > Hi Paolo, > > The runstate of my above sketch is running, so maybe your patch can fix some > other issues but not mine ?
You're right, do_vm_stop sets the runstate after pause_all_vcpus. We can move that before and it should fix your case too. Paolo