aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-10 11:43:24 +0200
committermalc <av1474@comtv.ru>2009-09-10 19:47:58 +0400
commit679a37afc49373834f2dc639b179f78112219089 (patch)
tree508d3ceda9de6252add51730ce1f7e12cb2d967b /hw/pc.c
parent2c8d9340203c7f19265fd4cb2341f568217a3af6 (diff)
isapc: pick a more sane default cpu for such old hardware.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 9af0cdb0da..872cb3ad5b 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);