summary refs log tree commit diff stats
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-05-10 13:29:46 +0200
committerEduardo Habkost <ehabkost@redhat.com>2017-05-11 16:08:48 -0300
commit0b8497f08cb6a933b31c1639ead2da2b536062ec (patch)
tree7b532ac261aa53da524fc3f2f0e1325169fc9f3a /include/hw/ppc
parentea089eebbd80e61d3c3cd03741dd5d9535c551fc (diff)
downloadfocaccia-qemu-0b8497f08cb6a933b31c1639ead2da2b536062ec.tar.gz
focaccia-qemu-0b8497f08cb6a933b31c1639ead2da2b536062ec.zip
spapr: add node-id property to sPAPR core
it will allow switching from cpu_index to core based numa
mapping in follow up patches.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <1494415802-227633-3-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/spapr_cpu_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_cpu_core.h b/include/hw/ppc/spapr_cpu_core.h
index 3c35665221..93051e9ecf 100644
--- a/include/hw/ppc/spapr_cpu_core.h
+++ b/include/hw/ppc/spapr_cpu_core.h
@@ -27,6 +27,7 @@ typedef struct sPAPRCPUCore {
 
     /*< public >*/
     void *threads;
+    int node_id;
 } sPAPRCPUCore;
 
 typedef struct sPAPRCPUCoreClass {