aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJingqi Liu <jingqi.liu@intel.com>2021-08-23 09:12:54 +0800
committerMichael S. Tsirkin <mst@redhat.com>2021-09-04 17:34:04 -0400
commite77af21a7a28e7b39f8e1f9b46d26d23d9a2396a (patch)
treea911d599700a26bb543edd86cf2586ca5d591219 /include
parentae4003738ff0e1e5e6e6ff6e7c593bb443d5df04 (diff)
downloadqemu-e77af21a7a28e7b39f8e1f9b46d26d23d9a2396a.zip
qemu-e77af21a7a28e7b39f8e1f9b46d26d23d9a2396a.tar.gz
qemu-e77af21a7a28e7b39f8e1f9b46d26d23d9a2396a.tar.bz2
hw/i386/acpi-build: Get NUMA information from struct NumaState
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 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. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Jingqi Liu <jingqi.liu@intel.com> Message-Id: <20210823011254.28506-1-jingqi.liu@intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/pc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 97b4ab7..4d2e35a 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -47,10 +47,6 @@ typedef struct PCMachineState {
bool default_bus_bypass_iommu;
uint64_t max_fw_size;
- /* NUMA information: */
- uint64_t numa_nodes;
- uint64_t *node_mem;
-
/* ACPI Memory hotplug IO base address */
hwaddr memhp_io_base;
} PCMachineState;