Since we don't respect the hardware restrictions, there is no good reason to limit the maximum amount of RAM to 2GB.
Suggested-by: Yunqiang Su <y...@wavecomp.com> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> --- hw/mips/malta.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/mips/malta.c b/hw/mips/malta.c index 5768b88183..277cbc0303 100644 --- a/hw/mips/malta.c +++ b/hw/mips/malta.c @@ -1482,10 +1482,11 @@ static void malta_machine_virt_class_init(ObjectClass *oc, void *data) mc->is_default = true; #ifdef TARGET_MIPS64 mc->default_cpu_type = MIPS_CPU_TYPE_NAME("20Kc"); + mmc->max_ramsize = 3 * GiB; #else mc->default_cpu_type = MIPS_CPU_TYPE_NAME("24Kf"); -#endif mmc->max_ramsize = 2 * GiB; +#endif } static void malta_machine_phys_class_init(ObjectClass *oc, void *data) -- 2.21.3