[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] target-xtensa: make 'sim' to be the default machine
From: |
Max Filippov |
Subject: |
[Qemu-devel] [PATCH] target-xtensa: make 'sim' to be the default machine |
Date: |
Thu, 9 Aug 2012 03:31:38 +0400 |
This fixes the following error:
$ qemu-system-xtensa -cpu help
Segmentation fault
Signed-off-by: Max Filippov <address@hidden>
---
hw/xtensa_sim.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index ed38bd4..831460b 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,
};
--
1.7.7.6
- [Qemu-devel] [PATCH] target-xtensa: make 'sim' to be the default machine,
Max Filippov <=