mirror of https://github.com/xemu-project/xemu.git
isapc: pick a more sane default cpu for such old hardware.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
2c8d934020
commit
679a37afc4
2
hw/pc.c
2
hw/pc.c
|
@ -1450,6 +1450,8 @@ static void pc_init_isa(ram_addr_t ram_size,
|
||||||
const char *initrd_filename,
|
const char *initrd_filename,
|
||||||
const char *cpu_model)
|
const char *cpu_model)
|
||||||
{
|
{
|
||||||
|
if (cpu_model == NULL)
|
||||||
|
cpu_model = "486";
|
||||||
pc_init1(ram_size, boot_device,
|
pc_init1(ram_size, boot_device,
|
||||||
kernel_filename, kernel_cmdline,
|
kernel_filename, kernel_cmdline,
|
||||||
initrd_filename, cpu_model, 0);
|
initrd_filename, cpu_model, 0);
|
||||||
|
|
Loading…
Reference in New Issue