mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 23:49:36 +00:00
Revert "Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into staging"
This reverts commitb8a173b25c
, reversing changes made to5de090464f
. (I applied this pull request when I should not have done so, and am now immediately reverting it.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@ -3453,17 +3453,10 @@ CPUArchState *cpu_copy(CPUArchState *env)
|
||||
{
|
||||
CPUState *cpu = ENV_GET_CPU(env);
|
||||
CPUArchState *new_env = cpu_init(cpu_model);
|
||||
CPUState *new_cpu;
|
||||
CPUState *new_cpu = ENV_GET_CPU(new_env);
|
||||
CPUBreakpoint *bp;
|
||||
CPUWatchpoint *wp;
|
||||
|
||||
if (!new_env) {
|
||||
fprintf(stderr, "cpu_copy: Failed to create new CPU\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
new_cpu = ENV_GET_CPU(new_env);
|
||||
|
||||
/* Reset non arch specific state */
|
||||
cpu_reset(new_cpu);
|
||||
|
||||
|
Reference in New Issue
Block a user