From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlOQp-0002ys-DZ for qemu-devel@nongnu.org; Wed, 09 Sep 2009 10:45:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlOQk-0002up-1G for qemu-devel@nongnu.org; Wed, 09 Sep 2009 10:45:58 -0400 Received: from [199.232.76.173] (port=59668 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlOQj-0002ub-SH for qemu-devel@nongnu.org; Wed, 09 Sep 2009 10:45:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32806) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlOQj-0004ep-Cl for qemu-devel@nongnu.org; Wed, 09 Sep 2009 10:45:53 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n89EjqR8029824 for ; Wed, 9 Sep 2009 10:45:52 -0400 From: Gerd Hoffmann Date: Wed, 9 Sep 2009 16:45:37 +0200 Message-Id: <1252507547-11398-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1252507547-11398-1-git-send-email-kraxel@redhat.com> References: <1252507547-11398-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 02/12] isapc: pick a more sane default cpu for such old hardware. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/pc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 9af0cdb..872cb3a 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1450,6 +1450,8 @@ static void pc_init_isa(ram_addr_t ram_size, const char *initrd_filename, const char *cpu_model) { + if (cpu_model == NULL) + cpu_model = "486"; pc_init1(ram_size, boot_device, kernel_filename, kernel_cmdline, initrd_filename, cpu_model, 0); -- 1.6.2.5