[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] hw/i386/acpi-build: Get NUMA information from struct Numa
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2] hw/i386/acpi-build: Get NUMA information from struct NumaState |
Date: |
Mon, 16 Aug 2021 12:05:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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 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 <jingqi.liu@intel.com>
> ---
> hw/i386/acpi-build.c | 12 +++++++-----
> hw/i386/pc.c | 9 ---------
> include/hw/i386/pc.h | 4 ----
> 3 files changed, 7 insertions(+), 18 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>