qemu/target-s390x
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
..
arch_dump.c s390x: Add vector registers to ELF dump 2015-05-27 17:52:03 +02:00
cc_helper.c target-s390x: fix CC computation for LOAD POSITIVE instructions 2015-06-05 01:37:57 +02:00
cpu-qom.h target-s390x: PER storage-alteration event support 2015-06-17 12:40:52 +02:00
cpu.c cpu: Add Error argument to cpu_exec_init() 2015-07-09 15:20:40 +02:00
cpu.h target-s390x: PER: add Breaking-Event-Address register 2015-06-17 12:40:52 +02:00
fpu_helper.c target-s390x: implement LOAD FP INTEGER instructions 2015-06-05 01:37:59 +02:00
gdbstub.c s390x/gdb: synchronize cpu state after modifying acrs 2015-07-02 15:35:33 +02:00
helper.c target-s390x: PER: add Breaking-Event-Address register 2015-06-17 12:40:52 +02:00
helper.h target-s390x: PER instruction-fetch event support 2015-06-17 12:40:52 +02:00
insn-data.def target-s390x: wire up I/O instructions in TCG mode 2015-06-17 12:40:50 +02:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c target-s390x: fix CONVERT TO BINARY (CVD, CVDY) 2015-07-07 17:51:47 +02:00
interrupt.c s390x: Fix sclp console input 2014-11-05 12:01:28 +01:00
ioinst.c s390/ioinst: fix endianness in ioinst_schib_valid 2015-06-17 12:40:50 +02:00
ioinst.h s390/ioinst: fix IO_INT_WORD_ISC macro 2015-06-17 12:40:50 +02:00
kvm.c kvm: First step to push iothread lock out of inner run loop 2015-07-01 15:45:51 +02:00
machine.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
Makefile.objs s390x/mmu: Move mmu_translate() and friends to separate file 2015-02-18 09:36:38 +01:00
mem_helper.c target-s390x: fix EXECUTE instruction executing TRT 2015-07-07 17:51:47 +02:00
misc_helper.c target-s390x: PER instruction-fetch nullification event support 2015-06-17 12:40:52 +02:00
mmu_helper.c Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
translate.c disas: Remove uses of CPU env 2015-06-22 17:40:01 +02:00