diff options
| author | Peter Maydell | 2016-01-21 15:15:04 +0100 |
|---|---|---|
| committer | Peter Maydell | 2016-01-21 15:15:04 +0100 |
| commit | 56943e8cc14b7eeeab67d1942fa5d8bcafe3e53f (patch) | |
| tree | 598f8b2a4521f275a8f67f7c4ce7d040f1ff073f /linux-headers/linux | |
| parent | misc: zynq-xadc: Fix off-by-one (diff) | |
| download | qemu-56943e8cc14b7eeeab67d1942fa5d8bcafe3e53f.tar.gz qemu-56943e8cc14b7eeeab67d1942fa5d8bcafe3e53f.tar.xz qemu-56943e8cc14b7eeeab67d1942fa5d8bcafe3e53f.zip | |
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 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
