Re: [Qemu-devel] [RFC PATCH v1 04/13] spapr: Factor out CPU initialization code into realizefn

2015-02-23 Thread Alexander Graf
On 23.02.15 08:36, Bharata B Rao wrote: On Fri, Jan 30, 2015 at 01:19:39PM +0530, Bharata B Rao wrote: On Thu, Jan 29, 2015 at 12:07:42PM +1100, David Gibson wrote: On Thu, Jan 08, 2015 at 11:40:11AM +0530, Bharata B Rao wrote: Move some CPU initialization code from machine init function to

Re: [Qemu-devel] [RFC PATCH v1 04/13] spapr: Factor out CPU initialization code into realizefn

2015-02-22 Thread Bharata B Rao
On Fri, Jan 30, 2015 at 01:19:39PM +0530, Bharata B Rao wrote: On Thu, Jan 29, 2015 at 12:07:42PM +1100, David Gibson wrote: On Thu, Jan 08, 2015 at 11:40:11AM +0530, Bharata B Rao wrote: Move some CPU initialization code from machine init function to CPU realizefn so that it can be used

Re: [Qemu-devel] [RFC PATCH v1 04/13] spapr: Factor out CPU initialization code into realizefn

2015-01-29 Thread Bharata B Rao
On Thu, Jan 29, 2015 at 12:07:42PM +1100, David Gibson wrote: On Thu, Jan 08, 2015 at 11:40:11AM +0530, Bharata B Rao wrote: Move some CPU initialization code from machine init function to CPU realizefn so that it can be used from CPU hotplug path too. With the inclusion of ppc.h in

Re: [Qemu-devel] [RFC PATCH v1 04/13] spapr: Factor out CPU initialization code into realizefn

2015-01-28 Thread David Gibson
On Thu, Jan 08, 2015 at 11:40:11AM +0530, Bharata B Rao wrote: Move some CPU initialization code from machine init function to CPU realizefn so that it can be used from CPU hotplug path too. With the inclusion of ppc.h in translate_init.c, explicit *irq_init() function definitions aren't