diff options
author | Igor Mammedov | 2017-02-10 11:18:49 +0100 |
---|---|---|
committer | David Gibson | 2017-02-22 01:28:28 +0100 |
commit | 535455fdee60e4e7979a5060ba7a4e4588ee1a1e (patch) | |
tree | ad026296762ec089cc2a41a9e743be465ef31bab /include/hw/boards.h | |
parent | change CPUArchId.cpu type to Object* (diff) | |
download | qemu-535455fdee60e4e7979a5060ba7a4e4588ee1a1e.tar.gz qemu-535455fdee60e4e7979a5060ba7a4e4588ee1a1e.tar.xz qemu-535455fdee60e4e7979a5060ba7a4e4588ee1a1e.zip |
spapr: reuse machine->possible_cpus instead of cores[]
Replace SPAPR specific cores[] array with generic
machine->possible_cpus and store core objects there.
It makes cores bookkeeping similar to x86 cpus and
will allow to unify similar code.
It would allow to replace cpu_index based NUMA node
mapping with iproperty based one (for -device created
cores) since possible_cpus carries board defined
topology/layout.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions