Re: [PATCH v2] hw/i386/acpi-build: Get NUMA information from struct NumaState

2021-08-16 Thread Liu, Jingqi
On 8/16/2021 6:05 PM, Philippe Mathieu-Daudé wrote: On 8/6/21 5:19 AM, Jingqi Liu wrote: Maybe prepend with: Since commits aa57020774b ("numa: move numa global variable nb_numa_nodes into MachineState") and 7e721e7b10e ("numa: move numa global variable numa_info into MachineState"), we can .

Re: [PATCH v2] hw/i386/acpi-build: Get NUMA information from struct NumaState

2021-08-16 Thread Philippe Mathieu-Daudé
On 8/6/21 5:19 AM, Jingqi Liu wrote: Maybe prepend with: Since commits aa57020774b ("numa: move numa global variable nb_numa_nodes into MachineState") and 7e721e7b10e ("numa: move numa global variable numa_info into MachineState"), we can ... > We can get NUMA information completely from Machine

Re: [PATCH v2] hw/i386/acpi-build: Get NUMA information from struct NumaState

2021-08-15 Thread Liu, Jingqi
Hi Igor, Any comments on this 2nd version of the patch ? Thanks, Jingqi On 8/6/2021 11:19 AM, Liu, Jingqi wrote: We can get NUMA information completely from MachineState::numa_state. Remove PCMachineState::numa_nodes and PCMachineState::node_mem, since they are just copied from MachineState::n

[PATCH v2] hw/i386/acpi-build: Get NUMA information from struct NumaState

2021-08-05 Thread Jingqi Liu
We can get NUMA information completely from MachineState::numa_state. Remove PCMachineState::numa_nodes and PCMachineState::node_mem, since they are just copied from MachineState::numa_state. Signed-off-by: Jingqi Liu --- hw/i386/acpi-build.c | 12 +++- hw/i386/pc.c | 9