qemu/target-alpha
Bharata B Rao 5a790cc4b9 cpu: Add Error argument to cpu_exec_init()
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 argument to abort in case of an error.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2015-07-09 15:20:40 +02:00
..
cpu-qom.h target-alpha: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
cpu.c cpu: Add Error argument to cpu_exec_init() 2015-07-09 15:20:40 +02:00
cpu.h target-alpha: Tidy FPCR representation 2015-05-18 13:03:46 -07:00
fpu_helper.c target-alpha: Raise IOV from CVTQL 2015-05-18 13:03:47 -07:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c target-alpha: Tidy FPCR representation 2015-05-18 13:03:46 -07:00
helper.h target-alpha: Raise IOV from CVTQL 2015-05-18 13:03:47 -07:00
int_helper.c Revert "target-alpha: Add vector implementation for CMPBGE" 2015-05-22 12:30:13 +01:00
machine.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
Makefile.objs target-alpha: Move VAX helpers to a new file 2015-05-18 13:03:46 -07:00
mem_helper.c target-alpha: Set PC correctly for floating-point exceptions 2015-05-18 13:03:46 -07:00
STATUS Replace Qemu by QEMU in internal documentation 2012-04-07 13:58:25 +00:00
sys_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
translate.c disas: Remove uses of CPU env 2015-06-22 17:40:01 +02:00
vax_helper.c target-alpha: Move VAX helpers to a new file 2015-05-18 13:03:46 -07:00