Skip to contentSkip to conversation

piix: set legacy table size for 1.7

PATCH In review Michael S. Tsirkin 2 participants 2 messages Jul 28, 2014 – Jul 29, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 piix: set legacy table size for 1.7

---

Paolo, so the following is needed on top of your patch?

 hw/i386/pc_piix.c | 1 +
 1 file changed, 1 insertion(+)
hw/i386/pc_piix.c +1 -0
index 4524e6b..9694f88 100644
@@ -326,6 +326,7 @@ static void pc_compat_1_7(MachineState *machine)
     smbios_defaults = false;
     gigabyte_align = false;
     option_rom_has_mr = true;
+    legacy_acpi_table_size = 6414;
     x86_cpu_compat_disable_kvm_features(FEAT_1_ECX, CPUID_EXT_X2APIC);
 }
 
Signature · 1 line
MST
#1 lore raw

Il 28/07/2014 23:01, Michael S. Tsirkin ha scritto:

Quoted 13 lines

---

Paolo, so the following is needed on top of your patch?

 hw/i386/pc_piix.c | 1 +
 1 file changed, 1 insertion(+)
hw/i386/pc_piix.c +0 -0
index 4524e6b..9694f88 100644

hw/i386/pc_piix.c static void pc_compat_1_7(MachineState *machine) · line 331

Quoted 6 lines
hw/i386/pc_piix.c +1 -0
@@ -326,6 +326,7 @@ static void pc_compat_1_7(MachineState *machine)
     smbios_defaults = false;
     gigabyte_align = false;
     option_rom_has_mr = true;
+    legacy_acpi_table_size = 6414;
     x86_cpu_compat_disable_kvm_features(FEAT_1_ECX, CPUID_EXT_X2APIC);
 }

Only if you want to support pc-i440fx-1.7 migration for 1.7->2.1 (and not for 2.0->2.1). Probably better considering we're applying Igor's patch.

Paolo