static void pc_i440fx_2_0_machine_options(MachineClass *m) { PCMachineClass *pcmc = PC_MACHINE_CLASS(m); pc_i440fx_2_1_machine_options(m); m->hw_version = "2.0.0"; SET_MACHINE_COMPAT(m, PC_COMPAT_2_0); pcmc->smbios_legacy_mode = true; pcmc->has_reserved_memory = false; /* This value depends on the actual DSDT and SSDT compiled into * the source QEMU; unfortunately it depends on the binary and * not on the machine type, so we cannot make pc-i440fx-1.7 work on * both QEMU 1.7 and QEMU 2.0. * * Large variations cause migration to fail for more than one * consecutive value of the "-smp" maxcpus option. * * For small variations of the kind caused by different iasl versions, * the 4k rounding usually leaves slack. However, there could be still * one or two values that break. For QEMU 1.7 and QEMU 2.0 the * slack is only ~10 bytes before one "-smp maxcpus" value breaks! * * 6652 is valid for QEMU 2.0, the right value for pc-i440fx-1.7 on * QEMU 1.7 it is 6414. For RHEL/CentOS 7.0 it is 6418. */ pcmc->legacy_acpi_table_size = 6652; pcmc->acpi_data_size = 0x10000; }
static void pc_i440fx_2_0_machine_options(MachineClass *m) { pc_i440fx_2_1_machine_options(m); m->hw_version = "2.0.0"; SET_MACHINE_COMPAT(m, PC_COMPAT_2_0); }
static void pc_i440fx_2_0_machine_options(MachineClass *m) { pc_i440fx_2_1_machine_options(m); SET_MACHINE_COMPAT(m, PC_COMPAT_2_0); }