s/cpus/cpu/ Am 24.06.2015 um 04:31 schrieb Peter Crosthwaite: > From: Bharata B Rao <bhar...@linux.vnet.ibm.com> > > 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.
argument > > Signed-off-by: Bharata B Rao <bhar...@linux.vnet.ibm.com> > Reviewed-by: Eduardo Habkost <ehabk...@redhat.com> > Reviewed-by: Igor Mammedov <imamm...@redhat.com> > Reviewed-by: David Gibson <da...@gibson.dropbear.id.au> > Reviewed-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> > Acked-by: Paolo Bonzini <pbonz...@redhat.com> > Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com> > --- > 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 -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)