[Qemu-devel] [PATCH] XBZRLE: Fix qemu crash when resize the xbzrle cache during migration

2014-02-19 Thread Gonglei (Arei)
It is likely to crash qemu when resize the xbzrle cache during migration. Because the xbzrle cache will be modified by migration thread and resize thread. Test scene step one: set the size of xbzrle cache 1GB. step two: migrate vm which dirty memory continuously. step three: set the size of

Re: [Qemu-devel] [PATCH] XBZRLE: Fix qemu crash when resize the xbzrle cache during migration

2014-02-19 Thread Dr. David Alan Gilbert
* Gonglei (Arei) (arei.gong...@huawei.com) wrote: Hi Arei, It is likely to crash qemu when resize the xbzrle cache during migration. Because the xbzrle cache will be modified by migration thread and resize thread. Thanks - we was just thinking about this last night after we hit it. I was

Re: [Qemu-devel] [PATCH] XBZRLE: Fix qemu crash when resize the xbzrle cache during migration

2014-02-19 Thread Gonglei (Arei)
: [Qemu-devel] [PATCH] XBZRLE: Fix qemu crash when resize the xbzrle cache during migration * Gonglei (Arei) (arei.gong...@huawei.com) wrote: Hi Arei, It is likely to crash qemu when resize the xbzrle cache during migration. Because the xbzrle cache will be modified by migration thread