exec: Ensure the only one cpu_index allocation method is used
commit630eb0faf4d3c04a117a047247691e0654632aa8
authorIgor Mammedov <imammedo@redhat.com>
Wed, 27 Jul 2016 09:24:54 +0000 (27 11:24 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 5 Sep 2016 19:01:55 +0000 (5 16:01 -0300)
treeb566b85964ad0ed05ca0ab5d25560327d7a4a54b
parente87d397e5ef66276ccc49b829527d605ca07d0ad
exec: Ensure the only one cpu_index allocation method is used

Make sure that cpu_index auto allocation isn't used in
combination with manual cpu_index assignment. And
dissallow out of order cpu removal if auto allocation
is in use.

Target that wishes to support out of order unplug should
switch to manual cpu_index assignment. Following patch
could be used as an example:
 (pc: init CPUState->cpu_index with index in possible_cpus[]))

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
exec.c