From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzFji-0000vI-6W for qemu-devel@nongnu.org; Wed, 08 Aug 2012 19:32:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzFjh-0006U6-Cz for qemu-devel@nongnu.org; Wed, 08 Aug 2012 19:32:22 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:58840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzFjh-0006U1-5R for qemu-devel@nongnu.org; Wed, 08 Aug 2012 19:32:21 -0400 Received: by lbbgm13 with SMTP id gm13so705587lbb.4 for ; Wed, 08 Aug 2012 16:32:20 -0700 (PDT) From: Max Filippov Date: Thu, 9 Aug 2012 03:31:38 +0400 Message-Id: <1344468698-9768-1-git-send-email-jcmvbkbc@gmail.com> Subject: [Qemu-devel] [PATCH] target-xtensa: make 'sim' to be the default machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Max Filippov This fixes the following error: $ qemu-system-xtensa -cpu help Segmentation fault Signed-off-by: Max Filippov --- 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