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>
Akihiko Odaki committed
Feb 17, 2026 at 15:34 UTC
284c01f76e86630577bbc90cea702a4b6575d458
1 file changed
+1
target/alpha/cpu.c
+1
@@ -124,6 +124,7 @@ static void alpha_cpu_realizefn(DeviceState *dev, Error **errp)
124
}
125
126
qemu_init_vcpu(cs);
127
+ cpu_reset(cs);
128
129
acc->parent_realize(dev, errp);
130
}