On Fri, Apr 24, 2015 at 12:17:35PM +0530, Bharata B Rao wrote: > Add an Error argument to cpu_exec_init() to let users collect the > error. Change all callers to currently pass NULL error argument. This change > is needed for the following reasons: > > - A subsequent commit changes the CPU enumeration logic in cpu_exec_init() > resulting in cpu_exec_init() to fail if cpu_index values corresponding > to max_cpus have already been handed out. > - There is a thinking that cpu_exec_init() should be called from realize > rather than instance_init. With this change, those architectures > that can move this call into realize function can do so in a phased > manner. > > Signed-off-by: Bharata B Rao <[email protected]> > Reviewed-by: David Gibson <[email protected]>
Again, looks good to me, but I'm not sure whose tree it needs to go
through.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgp9BOh5GrLYr.pgp
Description: PGP signature
