mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
target/alpha: Reset CPU
alpha_cpu_realizefn() did not properly call cpu_reset(), which corrupted icount. Add the missing function call to fix icount. Signed-off-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> Tested-by: Thomas Huth <thuth@redhat.com> Link: https://lore.kernel.org/r/20260217-alpha-v1-1-0dcc708c9db3@rsg.ci.i.u-tokyo.ac.jp Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
69dfc078a6
commit
284c01f76e
@@ -124,6 +124,7 @@ static void alpha_cpu_realizefn(DeviceState *dev, Error **errp)
|
||||
}
|
||||
|
||||
qemu_init_vcpu(cs);
|
||||
cpu_reset(cs);
|
||||
|
||||
acc->parent_realize(dev, errp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user