[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] arm: Bugfix: Fix cpu_reset() / vcpu_init() order
From: |
Christoffer Dall |
Subject: |
[Qemu-devel] [PATCH] arm: Bugfix: Fix cpu_reset() / vcpu_init() order |
Date: |
Tue, 27 May 2014 13:24:53 +0200 |
This fix a bug introduced by commit
50a2c6e55fa2ce5a2916a2c206bad2c6b0e06df1, but I'm not sure it is a
proper fix.
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Christoffer Dall <address@hidden>
---
target-arm/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-arm/cpu.c b/target-arm/cpu.c
index 6c6f2b3..794dcb9 100644
--- a/target-arm/cpu.c
+++ b/target-arm/cpu.c
@@ -370,8 +370,8 @@ static void arm_cpu_realizefn(DeviceState *dev, Error
**errp)
init_cpreg_list(cpu);
- cpu_reset(cs);
qemu_init_vcpu(cs);
+ cpu_reset(cs);
acc->parent_realize(dev, errp);
}
--
1.8.5.2
- [Qemu-devel] [PATCH] arm: Bugfix: Fix cpu_reset() / vcpu_init() order,
Christoffer Dall <=