Skip to content
Snippets Groups Projects
Commit 182735ef authored by Andreas Färber's avatar Andreas Färber
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
[AF: Rebased, simplified cpu_copy()]
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent 9b056fcc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment