aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/numa.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-05-10 13:30:00 +0200
committerEduardo Habkost <ehabkost@redhat.com>2017-05-11 16:08:50 -0300
commit1171ae9a5b132dc631728ff17688d05ed4534181 (patch)
tree4a675cd82519708c195672897ece9c9352385a39 /include/sysemu/numa.h
parentec78f8114bc4c133fc56fefa7f2af99725e42857 (diff)
downloadqemu-1171ae9a5b132dc631728ff17688d05ed4534181.zip
qemu-1171ae9a5b132dc631728ff17688d05ed4534181.tar.gz
qemu-1171ae9a5b132dc631728ff17688d05ed4534181.tar.bz2
numa: remove node_cpu bitmaps as they are no longer used
Postfactum "CPU(s) present in multiple NUMA nodes" check was the last user of node_cpu bitmaps, but it's not need as machine_set_cpu_numa_node() does the similar check at the time mapping is set for cpus (i.e. when -numa cpus= is parsed) and ensures that cpu can be mapped only to one node. Remove duplicate check based on node_cpu bitmaps and since the last user is gone remove node_cpu as well, which completes internal transition from legacy bitmap based mapping storage to possible_cpus storage. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Andrew Jones <drjones@redhat.com> Message-Id: <1494415802-227633-17-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/sysemu/numa.h')
-rw-r--r--include/sysemu/numa.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/numa.h b/include/sysemu/numa.h
index 8cb3ebc..7ffde5b 100644
--- a/include/sysemu/numa.h
+++ b/include/sysemu/numa.h
@@ -18,7 +18,6 @@ struct numa_addr_range {
struct node_info {
uint64_t node_mem;
- unsigned long *node_cpu;
struct HostMemoryBackend *node_memdev;
bool present;
QLIST_HEAD(, numa_addr_range) addr; /* List to store address ranges */