diff options
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/pc_piix.c | 10 | ||||
-rw-r--r-- | hw/i386/pc_q35.c | 8 |
2 files changed, 16 insertions, 2 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 13e1d50..89b4cb4 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -235,9 +235,16 @@ static void pc_init_pci(QEMUMachineInitArgs *args) initrd_filename, cpu_model, 1, 1); } +static void pc_init_pci_1_4(QEMUMachineInitArgs *args) +{ + pc_sysfw_flash_vs_rom_bug_compatible = true; + pc_init_pci(args); +} + static void pc_init_pci_1_3(QEMUMachineInitArgs *args) { enable_compat_apic_id_mode(); + pc_sysfw_flash_vs_rom_bug_compatible = true; pc_init_pci(args); } @@ -246,6 +253,7 @@ static void pc_init_pci_1_2(QEMUMachineInitArgs *args) { disable_kvm_pv_eoi(); enable_compat_apic_id_mode(); + pc_sysfw_flash_vs_rom_bug_compatible = true; pc_init_pci(args); } @@ -318,7 +326,7 @@ static QEMUMachine pc_i440fx_machine_v1_5 = { static QEMUMachine pc_i440fx_machine_v1_4 = { .name = "pc-i440fx-1.4", .desc = "Standard PC (i440FX + PIIX, 1996)", - .init = pc_init_pci, + .init = pc_init_pci_1_4, .max_cpus = 255, .compat_props = (GlobalProperty[]) { PC_COMPAT_1_4, diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index e5f417e..f160893 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -196,6 +196,12 @@ static void pc_q35_init(QEMUMachineInitArgs *args) } } +static void pc_q35_init_1_4(QEMUMachineInitArgs *args) +{ + pc_sysfw_flash_vs_rom_bug_compatible = true; + pc_q35_init(args); +} + static QEMUMachine pc_q35_machine_v1_5 = { .name = "pc-q35-1.5", .alias = "q35", @@ -208,7 +214,7 @@ static QEMUMachine pc_q35_machine_v1_5 = { static QEMUMachine pc_q35_machine_v1_4 = { .name = "pc-q35-1.4", .desc = "Standard PC (Q35 + ICH9, 2009)", - .init = pc_q35_init, + .init = pc_q35_init_1_4, .max_cpus = 255, .compat_props = (GlobalProperty[]) { PC_COMPAT_1_4, |