summaryrefslogtreecommitdiffstats
path: root/include/qom
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-21 14:15:04 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:25 -0600
commitc5e4200fa2e60b78beb51578b336f687e808c065 (patch)
tree7c3b407d3373ea0a4fcc35cc827b11cffa69e63f /include/qom
parent3886d278b664ee727239a001eb5443001f950c56 (diff)
downloadhqemu-c5e4200fa2e60b78beb51578b336f687e808c065.zip
hqemu-c5e4200fa2e60b78beb51578b336f687e808c065.tar.gz
exec.c: Don't set cpu->as until cpu_address_space_init
Rather than setting cpu->as unconditionally in cpu_exec_init (and then having target-i386 override this later), don't set it until the first call to cpu_address_space_init. This requires us to initialise the address space for both TCG and KVM (KVM doesn't need the AS listener but it does require cpu->as to be set). For target CPUs which don't set up any address spaces (currently everything except i386), add the default address_space_memory in qemu_init_vcpu(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'include/qom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud