diff options
author | 2017-02-09 12:08:33 +0100 | |
---|---|---|
committer | 2017-02-22 11:28:28 +1100 | |
commit | c96a1c0ba6b88fb47ca734013ae9b9248f78fbb4 (patch) | |
tree | f72e411e67e38ace1439a2e2d58b86ff225230b4 /scripts/qapi-commands.py | |
parent | machine: move possible_cpus to MachineState (diff) | |
download | qemu-c96a1c0ba6b88fb47ca734013ae9b9248f78fbb4.tar.xz 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 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions