]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
cpu: Add qemu_for_each_cpu()
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Apr 2013 20:58:04 +0000 (22:58 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Fri, 14 Jun 2013 16:43:38 +0000 (17:43 +0100)
commit0170b3ce88cb87346afa369a89ce9b197389058b
treeae3801c213e152210cffb4ed3ba328d069743980
parente48f3af500a229bf9bf63fbe02ca6ef35abc2820
cpu: Add qemu_for_each_cpu()

Wrapper to avoid open-coded loops and to make CPUState iteration
independent of CPUArchState.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
(cherry picked from QEMU commit d6b9e0d60cc511eca210834428bb74508cff3d33)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
exec.c
include/qemu/cpu.h