summaryrefslogtreecommitdiffstats
path: root/iothread.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2016-03-10 13:55:24 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:37 -0600
commite36c44e1a88ef83675a37a03d34ce6dca6ccc019 (patch)
tree0db661b8cfe494c8880905c537b20c3313b7ab11 /iothread.c
parent025280e0a03039b14b6979f6041d824acc08ab1f (diff)
downloadhqemu-e36c44e1a88ef83675a37a03d34ce6dca6ccc019.zip
hqemu-e36c44e1a88ef83675a37a03d34ce6dca6ccc019.tar.gz
quorum: Fix crash in quorum_aio_cb()
quorum_aio_cb() emits the QUORUM_REPORT_BAD event if there's an I/O error in a Quorum child. However sacb->aiocb must be correctly initialized for this to happen. read_quorum_children() and read_fifo_child() are not doing this, which results in a QEMU crash. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 8138570d071ba7e25db3736979234a1fd71dbd05.1457610443.git.berto@igalia.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud