[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus.
From: |
Liu Ping Fan |
Subject: |
[Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus. |
Date: |
Thu, 5 Jul 2012 10:18:09 +0800 |
Vcpu state must be set completely before receiving INIT-IPI,SIPI
Signed-off-by: Liu Ping Fan <address@hidden>
---
kvm.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/kvm.h b/kvm.h
index 9c7b0ea..5b3c228 100644
--- a/kvm.h
+++ b/kvm.h
@@ -198,6 +198,7 @@ static inline void cpu_synchronize_post_init(CPUArchState
*env)
{
if (kvm_enabled()) {
kvm_cpu_synchronize_post_init(env);
+ smp_wmb();
}
}
--
1.7.4.4
- [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus.,
Liu Ping Fan <=
- Re: [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus., Jan Kiszka, 2012/07/05
- Re: [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus., liu ping fan, 2012/07/05
- Re: [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus., Jan Kiszka, 2012/07/05
- Re: [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus., liu ping fan, 2012/07/05
- Re: [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus., Jan Kiszka, 2012/07/05
- Re: [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus., liu ping fan, 2012/07/06
- Re: [Qemu-devel] [PATCH] cpu: smp_wmb before lauching cpus., Jan Kiszka, 2012/07/06