xemu/include/exec
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
..
user linux-user: Allocate thunk size dynamically 2015-06-15 11:36:58 +03:00
address-spaces.h
cpu_ldst_template.h cpu_ldst_template.h: Drop unused cpu_ldfq/stfq/ldfl/stfl accessors 2015-01-20 15:19:34 +00:00
cpu_ldst_useronly_template.h cpu_ldst.h: Use inline functions for usermode cpu_ld/st accessors 2015-01-20 15:19:34 +00:00
cpu_ldst.h softmmu: provide tlb_vaddr_to_host function for user mode 2015-06-17 12:40:51 +02:00
cpu-all.h cpu-all: complete "real" host page size API 2015-07-06 12:15:12 -06:00
cpu-common.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
cpu-defs.h cpu-defs: Move out TB_JMP defines 2015-06-26 16:00:51 +02:00
cputlb.h cputlb: remove useless arguments to tlb_unprotect_code_phys, rename 2015-06-05 17:09:59 +02:00
exec-all.h cpu: Add Error argument to cpu_exec_init() 2015-07-09 15:20:40 +02:00
gdbstub.h semihosting: create SemihostingConfig structure and semihost.h 2015-06-19 14:17:45 +01:00
gen-icount.h tcg: Change translator-side labels to a pointer 2015-03-13 12:28:18 -07:00
helper-gen.h trace: [tcg] Include TCG-tracing helpers 2014-08-12 14:26:12 +01:00
helper-head.h tcg: Move size effects out of dh_arg 2014-05-28 09:33:55 -07:00
helper-proto.h trace: [tcg] Include TCG-tracing helpers 2014-08-12 14:26:12 +01:00
helper-tcg.h trace: [tcg] Include TCG-tracing helpers 2014-08-12 14:26:12 +01:00
hwaddr.h hwaddr: Make hwaddr type usable beyond softmmu 2013-06-28 13:25:13 +02:00
ioport.h portio: Allow to mark portio lists as coalesced MMIO flushing 2013-10-17 17:24:15 +02:00
memattrs.h target-i386: introduce cpu_get_mem_attrs 2015-06-05 17:10:00 +02:00
memory-internal.h memory: unregister AddressSpace MemoryListener within BQL 2015-02-10 10:25:44 -07:00
memory.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
poison.h exec: Remove env from list of poisoned names 2013-07-27 11:22:54 +04:00
ram_addr.h memory: make cpu_physical_memory_sync_dirty_bitmap() fully atomic 2015-06-05 17:10:00 +02:00
semihost.h semihosting: add --semihosting-config arg sub-argument 2015-06-19 14:17:45 +01:00
softmmu-semi.h include/softmmu-semi.h: Make semihosting support 64-bit clean 2015-06-26 09:08:50 +01:00
spinlock.h
tb-hash.h cpu-defs: Move out TB_JMP defines 2015-06-26 16:00:51 +02:00