|
@@ -1916,7 +1916,7 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
|
|
|
PCMachineState *pcms = PC_MACHINE(machine);
|
|
|
int nb_numa_nodes = machine->numa_state->num_nodes;
|
|
|
NodeInfo *numa_info = machine->numa_state->nodes;
|
|
|
- ram_addr_t hotplugabble_address_space_size =
|
|
|
+ ram_addr_t hotpluggable_address_space_size =
|
|
|
object_property_get_int(OBJECT(pcms), PC_MACHINE_DEVMEM_REGION_SIZE,
|
|
|
NULL);
|
|
|
|
|
@@ -2022,10 +2022,10 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
|
|
|
* Memory devices may override proximity set by this entry,
|
|
|
* providing _PXM method if necessary.
|
|
|
*/
|
|
|
- if (hotplugabble_address_space_size) {
|
|
|
+ if (hotpluggable_address_space_size) {
|
|
|
numamem = acpi_data_push(table_data, sizeof *numamem);
|
|
|
build_srat_memory(numamem, machine->device_memory->base,
|
|
|
- hotplugabble_address_space_size, nb_numa_nodes - 1,
|
|
|
+ hotpluggable_address_space_size, nb_numa_nodes - 1,
|
|
|
MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED);
|
|
|
}
|
|
|
|