summary refs log tree commit diff stats
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-02-09 12:08:33 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2017-02-22 11:28:28 +1100
commitc96a1c0ba6b88fb47ca734013ae9b9248f78fbb4 (patch)
treef72e411e67e38ace1439a2e2d58b86ff225230b4 /include/hw/boards.h
parent38690a1ca7cd4771800b1581329f09fafad3f2d6 (diff)
downloadfocaccia-qemu-c96a1c0ba6b88fb47ca734013ae9b9248f78fbb4.tar.gz
focaccia-qemu-c96a1c0ba6b88fb47ca734013ae9b9248f78fbb4.zip
pc: move pcms->possible_cpus init out of pc_cpus_init()
possible_cpus could be initialized earlier then cpu objects,
i.e. when -smp is parsed so move init code to possible_cpu_arch_ids()
interface func and do initialization on the first call.

it should help later with making -numa cpu/-smp parsing a machine state
properties.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions