diff options
author | Alberto Garcia <berto@igalia.com> | 2016-03-10 13:55:24 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2016-03-17 18:18:19 -0500 |
commit | 4b0b1ec8e0f772f3dc9c475b3f4cebfdb578d836 (patch) | |
tree | 34546d931ed3cf832535f63a6e120ea1a13ea3e7 /Makefile.objs | |
parent | cab1cc724572a1e418249f827b5f958bd23b1004 (diff) | |
download | hqemu-4b0b1ec8e0f772f3dc9c475b3f4cebfdb578d836.zip hqemu-4b0b1ec8e0f772f3dc9c475b3f4cebfdb578d836.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>
(cherry picked from commit b9c600d20716b3d942cb07188ff998fb236a8365)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.objs')
0 files changed, 0 insertions, 0 deletions