]> git.proxmox.com Git - mirror_qemu.git/commit
cpu: Make first_cpu and next_cpu CPUState
authorAndreas Färber <afaerber@suse.de>
Wed, 29 May 2013 20:29:20 +0000 (22:29 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 9 Jul 2013 19:32:54 +0000 (21:32 +0200)
commit182735efaf956ccab50b6d74a4fed163e0f35660
tree1852a22a43ce7130f22fc96cd96712cfa7e00749
parent9b056fcc5becd183fa2bdec9d259bf26b5f71207
cpu: Make first_cpu and next_cpu CPUState

Move next_cpu from CPU_COMMON to CPUState.
Move first_cpu variable to qom/cpu.h.

gdbstub needs to use CPUState::env_ptr for now.
cpu_copy() no longer needs to save and restore cpu_next.

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
[AF: Rebased, simplified cpu_copy()]
Signed-off-by: Andreas Färber <afaerber@suse.de>
39 files changed:
cpus.c
cputlb.c
dump.c
exec.c
gdbstub.c
hw/arm/boot.c
hw/arm/exynos4_boards.c
hw/arm/highbank.c
hw/arm/realview.c
hw/arm/vexpress.c
hw/arm/xilinx_zynq.c
hw/i386/kvm/clock.c
hw/i386/kvmvapic.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/intc/sh_intc.c
hw/isa/lpc_ich9.c
hw/mips/mips_malta.c
hw/ppc/e500.c
hw/ppc/ppc.c
hw/ppc/prep.c
hw/ppc/spapr.c
include/exec/cpu-all.h
include/exec/cpu-defs.h
include/qom/cpu.h
kvm-all.c
linux-user/elfload.c
linux-user/main.c
linux-user/syscall.c
memory_mapping.c
monitor.c
target-i386/arch_dump.c
target-i386/helper.c
target-i386/kvm.c
target-i386/misc_helper.c
target-mips/op_helper.c
target-ppc/excp_helper.c
target-ppc/kvm.c
translate-all.c