Revision 182735ef
ID | 182735efaf956ccab50b6d74a4fed163e0f35660 |
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>
Files
- added
- modified
- copied
- renamed
- deleted
- cpus.c (diff)
- cputlb.c (diff)
- dump.c (diff)
- exec.c (diff)
- gdbstub.c (diff)
- hw
- include
- kvm-all.c (diff)
- linux-user
- memory_mapping.c (diff)
- monitor.c (diff)
- target-i386
- arch_dump.c (diff)
- helper.c (diff)
- kvm.c (diff)
- misc_helper.c (diff)
- target-mips
- target-ppc
- excp_helper.c (diff)
- kvm.c (diff)
- translate-all.c (diff)