[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/3] cpus: Add Error argument to cpu_exec_ini

From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH v2 1/3] cpus: Add Error argument to cpu_exec_init()
Date: Mon, 18 May 2015 15:17:24 -0300
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, May 12, 2015 at 11:06:24AM +0530, Bharata B Rao wrote:
> Add an Error argument to cpu_exec_init() to let users collect the
> error. This is in preparation to change the CPU enumeration logic
> in cpu_exec_init(). With the new enumeration logic, cpu_exec_init()
> can fail if cpu_index values corresponding to max_cpus have already
> been handed out.
> Since all current callers of cpu_exec_init() are from instance_init,
> use error_abort Error arugment to abort in case of an error.
> Signed-off-by: Bharata B Rao <address@hidden>

Reviewed-by: Eduardo Habkost <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]