From: Gerd Hoffmann Date: Thu, 10 Sep 2009 09:43:24 +0000 (+0200) Subject: isapc: pick a more sane default cpu for such old hardware. X-Git-Tag: v0.12.0-rc0~1224 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=679a37afc49373834f2dc639b179f78112219089;p=thirdparty%2Fqemu.git isapc: pick a more sane default cpu for such old hardware. Signed-off-by: Gerd Hoffmann --- diff --git a/hw/pc.c b/hw/pc.c index 9af0cdb0da7..872cb3ad5bb 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);