diff options
author | Andrew Jones <drjones@redhat.com> | 2016-02-11 11:17:32 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-11 11:17:32 +0000 |
commit | 7ea686f5dda7cb9a5425fab716ce41260eeecf15 (patch) | |
tree | cccefbdf029616553d20d25391e24ab114b02620 /arch_init.c | |
parent | 97f4ed3b71cca015e82bb601a17cd816b83fff05 (diff) | |
download | qemu-7ea686f5dda7cb9a5425fab716ce41260eeecf15.zip |
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 'arch_init.c')
0 files changed, 0 insertions, 0 deletions