Am 02.08.2013 03:43, schrieb Tiejun Chen: > It makes more sense and simple later. > > Signed-off-by: Tiejun Chen <tiejun.c...@windriver.com> > --- > v1 -> v2: > > To optimize performance slightly, we can reorder the two conditions to > avoid the non-inline function call if cpu->stopped.
Patch doesn't apply to qemu.git: next_cpu and cpu_thread_is_idle() use CPUState since a few weeks and do_vm_stop() changed from void to int. Please remember to rebase before sending patches. Thanks, applied to qom-cpu-next (with modified commit message): https://github.com/afaerber/qemu-cpu/commits/qom-cpu-next Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg