summaryrefslogtreecommitdiffstats
path: root/include/block/block_int.h
diff options
context:
space:
mode:
authorLiu Yuan2014-08-28 12:27:55 +0200
committerStefan Hajnoczi2014-08-29 11:46:58 +0200
commita780dea0454d2820e31407c33f167acf00fe447d (patch)
treedfdef7e94deb93e81b9d697fed16220b1e6e4b96 /include/block/block_int.h
parentaio-win32: add support for sockets (diff)
downloadqemu-a780dea0454d2820e31407c33f167acf00fe447d.tar.gz
qemu-a780dea0454d2820e31407c33f167acf00fe447d.tar.xz
qemu-a780dea0454d2820e31407c33f167acf00fe447d.zip
sheepdog: fix a core dump while do auto-reconnecting
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 connect to socket: Connection refused qemu-system-x86_64: (null) [xcb] Unknown sequence number while awaiting reply [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. qemu-system-x86_64: ../../src/xcb_io.c:298: poll_for_response: Assertion `!xcb_xlib_threads_sequence_lost' failed. Aborted (core dumped) Cc: qemu-devel@nongnu.org Cc: Markus Armbruster <armbru@redhat.com> Cc: Kevin Wolf <kwolf@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Liu Yuan <namei.unix@gmail.com> Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block/block_int.h')
0 files changed, 0 insertions, 0 deletions