[PATCH] kvm/e500: Fix the bug that KVM is unstable in SMP

2009-03-15 Thread Liu Yu
TLB entry should enable memory coherence in SMP. And like commit 631fba9dd3aca519355322cef035730609e91593, remove other page attributes to enable the prefetch of guest memory. Signed-off-by: Liu Yu --- arch/powerpc/kvm/e500_tlb.c |4 arch/powerpc/kvm/e500_tlb.h |2 +- 2 files chang

[PATCH] kvm/e500: Fix the bug that mas0 update to wrong value when read TLB entry

2009-03-15 Thread Liu Yu
Should clear and then update the next victim area here. Host only read TLB1 when startup kernel, this bug result in a extra 4k TLB1 mapping in guest from 0x0 to 0x0. As the problem has no impact to bootup a guest so far. we didn't find it before. Signed-off-by: Liu Yu --- arch/powerpc/kvm/e500

[PATCH 0/2] kvm/e500: fix bugs

2009-03-15 Thread Liu Yu
Hollis, Finally I found the reason for unstable kvm in SMP. do you think the modification is OK? -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html