Re: [Qemu-devel] [PATCH v2] sheepdog: fix a core dump while do auto-reconnecting

2014-08-29 Thread Stefan Hajnoczi
On Thu, Aug 28, 2014 at 06:27:55PM +0800, Liu Yuan wrote: > We should reinit local_err as NULL inside the while loop or g_free() will > report > corrupption and abort the QEMU when sheepdog driver tries reconnecting. > > This was broken in commit 356b4ca. > > qemu-system-x86_64: failed to get th

Re: [Qemu-devel] [PATCH v2] sheepdog: fix a core dump while do auto-reconnecting

2014-08-28 Thread Benoît Canet
The Thursday 28 Aug 2014 à 18:27:55 (+0800), Liu Yuan wrote : > We should reinit local_err as NULL inside the while loop or g_free() will > report > corrupption and abort the QEMU when sheepdog driver tries reconnecting. > > This was broken in commit 356b4ca. > > qemu-system-x86_64: failed to ge

[Qemu-devel] [PATCH v2] sheepdog: fix a core dump while do auto-reconnecting

2014-08-28 Thread Liu Yuan
We should reinit local_err as NULL inside the while loop or g_free() will report corrupption and abort the QEMU when sheepdog driver tries reconnecting. This was broken in commit 356b4ca. qemu-system-x86_64: failed to get the header, Resource temporarily unavailable qemu-system-x86_64: Failed to