On 12/05/2016 05:48, Bharata B Rao wrote: > @@ -1531,6 +1563,9 @@ static void tcg_exec_all(void) > break; > } > } else if (cpu->stop || cpu->stopped) { > + if (cpu->unplug) {
This "if" is unnecessary. next_cpu is not used anymore after the "break", so the store is dead. Ok without this. Paolo > + next_cpu = CPU_NEXT(cpu); > + } > break; > } > }