Skip to content
Snippets Groups Projects
user avatar
Andreas Färber authored
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>
182735ef
History
Name Last commit Last update