]> git.proxmox.com Git - mirror_qemu.git/commit
vl.c: Replace smp global variables with smp machine properties
authorLike Xu <like.xu@linux.intel.com>
Sat, 18 May 2019 20:54:28 +0000 (04:54 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:08:03 +0000 (17:08 -0300)
commita5e0b331193a02e5fcbe7636d48bf59af54d6617
tree2b12abffb065dd0da5f8cd97ae396585eb150d46
parent33decbd2d3d51742269a78c1d6da3068c61c60d7
vl.c: Replace smp global variables with smp machine properties

The global smp variables in vl.c are completely replaced with machine properties.

Form this commit, the smp_cpus/smp_cores/smp_threads/max_cpus are deprecated
and only machine properties within MachineState are fully applied and enabled.

Signed-off-by: Like Xu <like.xu@linux.intel.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190518205428.90532-11-like.xu@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
vl.c