Revert "pc: Enforce adding CPUs contiguously and removing them in opposite order"
commit9527e7bde5b59005ddb2d902973915b81b4c5b2c
authorIgor Mammedov <imammedo@redhat.com>
Mon, 25 Jul 2016 09:59:24 +0000 (25 11:59 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 26 Jul 2016 18:32:13 +0000 (26 15:32 -0300)
tree9c5bfad4cb37985215b496fe1d9b4c9ec7eb03b2
parenta15d2728a9aadeb801370adf5bf0b411a774a2d2
Revert "pc: Enforce adding CPUs contiguously and removing them in opposite order"

This reverts commit 4da7faaeb0c7dd3f7f233165d336c878f78fd1eb.

Since commit:
  pc: init CPUState->cpu_index with index in possible_cpus[]
cpu_index is stable regardless of the order cpus were created
and QEMU instance stays migratable always so limitation added
by 4da7faaeb could be safely removed.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c