]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
cpu: refactor cpu_address_space_init()
authorPeter Xu <peterx@redhat.com>
Thu, 23 Nov 2017 09:23:32 +0000 (17:23 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:30:31 +0000 (09:30 +0100)
commit80ceb07a83375e3a0091591f96bd47bce2f640ce
tree98b54a1e8eac1adac80dde4350d0fd2f57334619
parent7ce32f3005afef1feb6f6cd3a7e4f36a3ff300ab
cpu: refactor cpu_address_space_init()

Normally we create an address space for that CPU and pass that address
space into the function.  Let's just do it inside to unify address space
creations.  It'll simplify my next patch to rename those address spaces.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20171123092333.16085-3-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c
exec.c
include/exec/exec-all.h
target/arm/cpu.c
target/i386/cpu.c