summaryrefslogtreecommitdiffstats
path: root/qobject
diff options
context:
space:
mode:
authorAndrew Jones2020-12-15 18:48:15 +0100
committerPeter Maydell2021-01-08 16:13:38 +0100
commit9cd07db94b41e849dab8a547fb778718a11f487d (patch)
tree8bafe1d9f8d8b5cd3213b056057499e88123c14b /qobject
parentintc/arm_gic: Fix gic_irq_signaling_enabled() for vCPUs (diff)
downloadqemu-9cd07db94b41e849dab8a547fb778718a11f487d.tar.gz
qemu-9cd07db94b41e849dab8a547fb778718a11f487d.tar.xz
qemu-9cd07db94b41e849dab8a547fb778718a11f487d.zip
hw/arm/virt: Remove virt machine state 'smp_cpus'
virt machine's 'smp_cpus' and machine->smp.cpus must always have the same value. And, anywhere we have virt machine state we have machine state. So let's remove the redundancy. Also, to make it easier to see that machine->smp is the true source for "smp_cpus" and "max_cpus", avoid passing them in function parameters, preferring instead to get them from the state. No functional change intended. Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: David Edmondson <david.edmondson@oracle.com> Reviewed-by: Ying Fang <fangying1@huawei.com> Message-id: 20201215174815.51520-1-drjones@redhat.com [PMM: minor formatting tweak to smp_cpus variable declaration] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions