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
..
2016-10-04 13:28:07 +01:00
2017-04-25 19:17:25 +08:00
2017-01-27 18:07:59 +01:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-03-15 20:50:14 -04:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2017-05-08 20:32:14 +02:00
2017-02-28 17:10:00 +00:00
2017-01-27 18:07:59 +01:00
2017-02-28 16:18:49 +00:00
2017-01-27 18:07:59 +01:00
2017-04-21 09:32:09 +02:00
2017-04-24 12:32:12 +01:00
2017-02-28 12:04:48 +01:00
2017-03-01 00:09:28 +04:00
2017-04-21 15:59:27 +01:00