From: Alistair Francis Date: Tue, 31 Oct 2017 11:50:51 +0000 (+0000) Subject: xlnx-zcu102: Specify the max number of CPUs X-Git-Tag: v2.11.0-rc0~15^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f2bf05ce7b2b64f2a3ecb98de10a8100228c9a6;p=thirdparty%2Fqemu.git xlnx-zcu102: Specify the max number of CPUs Specify the number of CPUs that can run on ZynqMP. Signed-off-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c index 519a16ed98f..e2d15a1c9d5 100644 --- a/hw/arm/xlnx-zcu102.c +++ b/hw/arm/xlnx-zcu102.c @@ -240,6 +240,7 @@ static void xlnx_zcu102_machine_class_init(ObjectClass *oc, void *data) mc->block_default_type = IF_IDE; mc->units_per_default_bus = 1; mc->ignore_memory_transaction_failures = true; + mc->max_cpus = XLNX_ZYNQMP_NUM_APU_CPUS + XLNX_ZYNQMP_NUM_RPU_CPUS; } static const TypeInfo xlnx_zcu102_machine_init_typeinfo = {