Re: [Qemu-devel] [PATCHv4 2/8] pseries: Cleanup error handling of spapr_cpu_init()

2016-01-18 Thread Alexey Kardashevskiy
On 01/19/2016 02:39 PM, David Gibson wrote: Currently spapr_cpu_init() is hardcoded to handle any errors as fatal. That works for now, since it's only called from initial setup where an error here means we really can't proceed. However, we'll want to handle this more flexibly for cpu hotplug in

[Qemu-devel] [PATCHv4 2/8] pseries: Cleanup error handling of spapr_cpu_init()

2016-01-18 Thread David Gibson
Currently spapr_cpu_init() is hardcoded to handle any errors as fatal. That works for now, since it's only called from initial setup where an error here means we really can't proceed. However, we'll want to handle this more flexibly for cpu hotplug in future so generalize this using the error repo