Igor Mammedov 7c88e65d9e numa: mirror cpu to node mapping in MachineState::possible_cpus
Introduce machine_set_cpu_numa_node() helper that stores
node mapping for CPU in MachineState::possible_cpus.
CPU and node it belongs to is specified by 'props' argument.

Patch doesn't remove old way of storing mapping in
numa_info[X].node_cpu as removing it at the same time
makes patch rather big. Instead it just mirrors mapping
in possible_cpus and follow up per target patches will
switch to possible_cpus and numa_info[X].node_cpu will
be removed once there isn't any users left.

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-7-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-05-11 16:08:49 -03:00
..
2017-04-26 10:22:31 +01:00
2016-10-04 13:28:07 +01:00
2017-05-11 16:08:49 -03:00
2017-01-27 18:08:00 +01:00
2017-01-20 11:15:06 +00:00
2017-05-11 16:08:48 -03:00
2017-04-26 12:00:42 +10:00
2016-05-18 15:04:27 +03:00
2017-04-05 17:23:52 +02:00
2017-01-27 18:07:59 +01:00
2017-02-24 10:37:21 +00:00
2017-02-28 20:40:36 +01:00
2017-05-08 20:32:14 +02:00
2017-02-02 18:48:06 +00:00
2016-01-29 15:07:25 +00:00
2017-03-01 23:09:46 +00:00
2017-04-24 12:32:12 +01:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2017-04-21 15:59:27 +01:00
2017-05-04 15:34:41 +04:00