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

2014-08-29 Thread Stefan Hajnoczi
On Thu, Aug 28, 2014 at 03:57:10PM +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. > > qemu-system-x86_64: failed to get the header, Resource temporarily unavailab

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

2014-08-28 Thread Markus Armbruster
Liu Yuan writes: > We should reinit Local_err as NULL inside the while loop or g_free() will > report You misspelled local_err. > corrupption and abort the QEMU when sheepdog driver tries reconnecting. > > qemu-system-x86_64: failed to get the header, Resource temporarily unavailable > qemu-sy

[Qemu-devel] [PATCH] 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. qemu-system-x86_64: failed to get the header, Resource temporarily unavailable qemu-system-x86_64: Failed to connect to socket: Connection refuse