From 82e5d464146e69789329cf860685d22db6a64862 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Thu, 9 Aug 2012 03:31:38 +0400 Subject: [PATCH] target-xtensa: make 'sim' to be the default machine This fixes the following error: $ qemu-system-xtensa -cpu help Segmentation fault Signed-off-by: Max Filippov Signed-off-by: Blue Swirl --- hw/xtensa_sim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c index ed38bd425d..831460b7c4 100644 --- a/hw/xtensa_sim.c +++ b/hw/xtensa_sim.c @@ -111,6 +111,7 @@ static void xtensa_sim_init(ram_addr_t ram_size, static QEMUMachine xtensa_sim_machine = { .name = "sim", .desc = "sim machine (" XTENSA_DEFAULT_CPU_MODEL ")", + .is_default = true, .init = xtensa_sim_init, .max_cpus = 4, }; -- GitLab