cpus: CPU threads are always created initially for one CPU only
commit5a9c973b6cda88acb08d62a696a72d9e2be5807b
authorDavid Hildenbrand <david@redhat.com>
Fri, 9 Feb 2018 19:52:39 +0000 (9 20:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Mar 2018 13:00:59 +0000 (6 14:00 +0100)
treeaec127bd92609e2a2d535f808f2ce52396463ea2
parent81e963116882eed4ebf7cf3df5c2e1abaab3a288
cpus: CPU threads are always created initially for one CPU only

It can never happen for single-threaded TCG that we have more than one
CPU in the list, while the first one has not been marked as "created".

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180209195239.16048-4-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c