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

2014-02-26 Thread Gonglei (Arei)
Hi, Juan. Thanks for your review. > -Original Message- > From: Juan Quintela [mailto:quint...@redhat.com] > Sent: Tuesday, February 25, 2014 11:25 PM > To: Gonglei (Arei) > Cc: qemu-devel@nongnu.org; Dr. David Alan Gilbert; owass...@redhat.com; > chenliang (T); Huangweidong (C) > Subject:

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

2014-02-25 Thread Juan Quintela
"Gonglei (Arei)" wrote: > Resizing the xbzrle cache during migration causes qemu-crash, > because the main-thread and migration-thread modify the xbzrle > cache size concurrently without lock-protection. > > Signed-off-by: ChenLiang > Signed-off-by: Gonglei > Reviewed-by: Dr. David Alan Gilbert

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

2014-02-22 Thread Gonglei (Arei)
Resizing the xbzrle cache during migration causes qemu-crash, because the main-thread and migration-thread modify the xbzrle cache size concurrently without lock-protection. Signed-off-by: ChenLiang Signed-off-by: Gonglei Reviewed-by: Dr. David Alan Gilbert --- Changes against the previous vers