diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2017-02-09 12:08:33 +0100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2017-02-22 11:28:28 +1100 |
| commit | c96a1c0ba6b88fb47ca734013ae9b9248f78fbb4 (patch) | |
| tree | f72e411e67e38ace1439a2e2d58b86ff225230b4 /include/hw/boards.h | |
| parent | 38690a1ca7cd4771800b1581329f09fafad3f2d6 (diff) | |
| download | focaccia-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