OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8d934
)
isapc: pick a more sane default cpu for such old hardware.
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 10 Sep 2009 09:43:24 +0000
(11:43 +0200)
committer
malc
<av1474@comtv.ru>
Thu, 10 Sep 2009 15:47:58 +0000
(19:47 +0400)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/pc.c
patch
|
blob
|
history
diff --git
a/hw/pc.c
b/hw/pc.c
index
9af0cdb
..
872cb3a
100644
(file)
--- 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);