projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e38077f
)
target-xtensa: make 'sim' to be the default machine
author
Max Filippov
<jcmvbkbc@gmail.com>
Wed, 8 Aug 2012 23:31:38 +0000
(
03:31
+0400)
committer
Blue Swirl
<blauwirbel@gmail.com>
Thu, 9 Aug 2012 18:38:23 +0000
(18:38 +0000)
This fixes the following error:
$ qemu-system-xtensa -cpu help
Segmentation fault
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/xtensa_sim.c
patch
|
blob
|
history
diff --git
a/hw/xtensa_sim.c
b/hw/xtensa_sim.c
index ed38bd425d7895f6a7ad95792a999ad137b6bdd8..831460b7c4840355e9ad63a3b8a4e6abb4fbf15c 100644
(file)
--- 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,
};