Having two CPUs and 1 GiB of RAM matches real hardware. Fix the machine defaults to make its use more ergonomic and less error-prone.
To reproduce the old default behavior for e.g. migration purposes, `-smp 1 -m 128M` needs to be passed on the command line. Signed-off-by: Bernhard Beschow <[email protected]> --- hw/arm/mcimx7d-sabre.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c index 8d223fca6c..8905bf0016 100644 --- a/hw/arm/mcimx7d-sabre.c +++ b/hw/arm/mcimx7d-sabre.c @@ -81,6 +81,8 @@ static void mcimx7d_sabre_machine_init(MachineClass *mc) mc->desc = "Freescale i.MX7 DUAL SABRE (Cortex-A7)"; mc->init = mcimx7d_sabre_init; mc->max_cpus = FSL_IMX7_NUM_CPUS; + mc->default_cpus = FSL_IMX7_NUM_CPUS; + mc->default_ram_size = 2 * GiB; mc->default_ram_id = "mcimx7d-sabre.ram"; mc->auto_create_sdcard = true; mc->ignore_memory_transaction_failures = true; -- 2.55.0
