qemu-patch-raspberry4/hw/arm
Andrew Jones 7ea686f5dd 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>
2016-02-11 11:17:32 +00:00
..
allwinner-a10.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
armv7m.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
bcm2835_peripherals.c bcm2835_peripherals: add rollup device for bcm2835 peripherals 2016-02-03 15:00:45 +00:00
bcm2836.c bcm2836: add bcm2836 SoC device 2016-02-03 15:00:46 +00:00
boot.c arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
collie.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
cubieboard.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
digic.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
digic_boards.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
exynos4_boards.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
exynos4210.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
fsl-imx25.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
fsl-imx31.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
gumstix.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
highbank.c arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
imx25_pdk.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
integratorcp.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
kzm.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
mainstone.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
Makefile.objs raspi: add raspberry pi 2 machine 2016-02-03 15:00:47 +00:00
musicpal.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
netduino2.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
nseries.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
omap1.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
omap2.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
omap_sx1.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
palm.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
pxa2xx.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
pxa2xx_gpio.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
pxa2xx_pic.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
raspi.c raspi: add raspberry pi 2 machine 2016-02-03 15:00:47 +00:00
realview.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
spitz.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
stellaris.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
stm32f205_soc.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
strongarm.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
strongarm.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
sysbus-fdt.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
tosa.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
versatilepb.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
vexpress.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
virt-acpi-build.c pc and misc cleanups and fixes, virtio optimizations 2016-02-08 11:25:31 +00:00
virt.c hw/arm/virt: fix max-cpus check 2016-02-11 11:17:32 +00:00
xilinx_zynq.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
xlnx-ep108.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
xlnx-zynqmp.c xlnx-zynqmp: Connect the SPI devices 2016-01-21 14:15:03 +00:00
z2.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00