diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-08-09 03:31:38 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-08-09 18:38:23 +0000 |
commit | 82e5d464146e69789329cf860685d22db6a64862 (patch) | |
tree | b07d2ba1961062abccc624a4a1ea1b034dac292c /hw/xtensa_sim.c | |
parent | e38077ff90fac002038805d17044aa05f4f54c24 (diff) | |
download | qemu-82e5d464146e69789329cf860685d22db6a64862.zip qemu-82e5d464146e69789329cf860685d22db6a64862.tar.gz qemu-82e5d464146e69789329cf860685d22db6a64862.tar.bz2 |
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 <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/xtensa_sim.c')
-rw-r--r-- | 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, }; |