mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06: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:
parent
b8a173b25c
commit
0856579cac
9 changed files with 111 additions and 101 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue