Re: [Qemu-devel] [PATCH v0] spapr: Ensure thread0 of CPU core is always realized first

2016-07-03 Thread David Gibson
On Fri, Jul 01, 2016 at 10:44:39AM +0530, Bharata B Rao wrote: > During CPU core realization, we create all the thread objects and parent > them to the core object in a loop. However, the realization of thread > objects is done separately by walking the threads of a core using > object_child_foreac

[Qemu-devel] [PATCH v0] spapr: Ensure thread0 of CPU core is always realized first

2016-06-30 Thread Bharata B Rao
During CPU core realization, we create all the thread objects and parent them to the core object in a loop. However, the realization of thread objects is done separately by walking the threads of a core using object_child_foreach(). With this, there is no guarantee on the order in which the child t