cpus: Abstract all_cpu_threads_idle() with qemu_for_each_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
cpus: Abstract all_vcpus_paused() with qemu_for_each_cpu()

Change return type from int to bool while at it.

Signed-off-by: Andreas Färber <afaerber@suse.de>
cpus: Abstract qmp_query_cpus() with qemu_for_each_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
exec: Abstract qemu_get_cpu() with qemu_for_each_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
gdbstub: Abstract gdb_breakpoint_{insert,remove}() with qemu_for_each_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
gdbstub: Abstract gdb_breakpoint_remove_all() with qemu_for_each_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
spapr: Abstract spapr_create_fdt_skel() with qemu_for_each_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
spapr_rtas: Abstract rtas_query_cpu_stopped_state() with qemu_get_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
spapr_rtas: Abstract rtas_start_cpu() with qemu_get_cpu()

Signed-off-by: Andreas Färber <afaerber@suse.de>
cpu: Make first_cpu and next_cpu CPUState (WIP)

TODO: gdbstub
TBD: linux-user thread_env

Signed-off-by: Andreas Färber <afaerber@suse.de>