aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/bcm2836.c
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2016-02-09 18:27:27 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-09 18:27:27 +0000
commit69da1f76aa720ede46e4ce4efaeff0dbb5e0f7dc (patch)
tree5c9a80f032e4de8f2c08d5f22739476a6ea88f2a /hw/arm/bcm2836.c
parent054aa9b1952b3eb20f837739e45c42105d944252 (diff)
hw/arm/virt: fix max-cpus check
mach-virt doesn't yet support hotplug, but command lines specifying -smp <num>,maxcpus=<bigger-num> don't fail. Of course specifying bigger-num as something bigger than the machine supports, e.g. > 8 on a gicv2 machine, should fail though. This fix also makes mach- virt's max-cpus check truly consistent with the one in vl.c:main, as the one there was already correctly checking max-cpus instead of smp-cpus. Reported-by: Shannon Zhao <shannon.zhao@linaro.org> Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org> Message-id: 1454511578-24863-1-git-send-email-drjones@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/bcm2836.c')
0 files changed, 0 insertions, 0 deletions