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 <[email protected]> --- target/alpha/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c index 1780db7d1e29..74281ebdb367 100644 --- a/target/alpha/cpu.c +++ b/target/alpha/cpu.c @@ -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); } -- 2.53.0
