From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7krc-0003hI-PG for qemu-devel@nongnu.org; Wed, 24 Jun 2015 09:37:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7krW-0008Hj-Te for qemu-devel@nongnu.org; Wed, 24 Jun 2015 09:37:16 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33880 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7krW-0008Gg-NJ for qemu-devel@nongnu.org; Wed, 24 Jun 2015 09:37:10 -0400 Message-ID: <558AB285.6060809@suse.de> Date: Wed, 24 Jun 2015 15:37:09 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <8a69c818ed886b8faca5d3fd0b757e126a526c44.1435112834.git.crosthwaite.peter@gmail.com> In-Reply-To: <8a69c818ed886b8faca5d3fd0b757e126a526c44.1435112834.git.crosthwaite.peter@gmail.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH qom v4 1/7] cpus: Add Error argument to cpu_exec_init() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: rth@twiddle.net, Bharata B Rao , ehabkost@redhat.com, aurelien@aurel32.net, Peter Crosthwaite s/cpus/cpu/ Am 24.06.2015 um 04:31 schrieb Peter Crosthwaite: > From: Bharata B Rao >=20 > 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. >=20 > Since all current callers of cpu_exec_init() are from instance_init, > use error_abort Error arugment to abort in case of an error. argument >=20 > Signed-off-by: Bharata B Rao > Reviewed-by: Eduardo Habkost > Reviewed-by: Igor Mammedov > Reviewed-by: David Gibson > Reviewed-by: Peter Crosthwaite > Acked-by: Paolo Bonzini > Signed-off-by: Peter Crosthwaite > --- > exec.c | 2 +- > include/exec/exec-all.h | 2 +- > target-alpha/cpu.c | 2 +- > target-arm/cpu.c | 2 +- > target-cris/cpu.c | 2 +- > target-i386/cpu.c | 2 +- > target-lm32/cpu.c | 2 +- > target-m68k/cpu.c | 2 +- > target-microblaze/cpu.c | 2 +- > target-mips/cpu.c | 2 +- > target-moxie/cpu.c | 2 +- > target-openrisc/cpu.c | 2 +- > target-ppc/translate_init.c | 2 +- > target-s390x/cpu.c | 2 +- > target-sh4/cpu.c | 2 +- > target-sparc/cpu.c | 2 +- > target-tricore/cpu.c | 2 +- > target-unicore32/cpu.c | 2 +- > target-xtensa/cpu.c | 2 +- > 19 files changed, 19 insertions(+), 19 deletions(-) Applied to qom-cpu with the above changes. Thanks, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=FCrnberg)