diff options
author | Nishanth Aravamudan <naravamudan@digitalocean.com> | 2018-07-18 14:12:56 -0700 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-07-24 14:27:41 +0100 |
commit | 042b757cc77c9580b99ef2781cfb0a2d1bf495a6 (patch) | |
tree | 39432f87cf26aa12e167ab3e44118605cd8dd45f /qapi/introspect.json | |
parent | 768cef2974fb1fa30dd188b043ea737e13fea477 (diff) | |
download | qemu-042b757cc77c9580b99ef2781cfb0a2d1bf495a6.zip qemu-042b757cc77c9580b99ef2781cfb0a2d1bf495a6.tar.gz qemu-042b757cc77c9580b99ef2781cfb0a2d1bf495a6.tar.bz2 |
block/file-posix: add bdrv_attach_aio_context callback for host dev and cdrom
In ed6e2161 ("linux-aio: properly bubble up errors from initialzation"),
I only added a bdrv_attach_aio_context callback for the bdrv_file
driver. There are several other drivers that use the shared
aio_plug callback, though, and they will trip the assertion added to
aio_get_linux_aio because they did not call aio_setup_linux_aio first.
Add the appropriate callback definition to the affected driver
definitions.
Fixes: ed6e2161 ("linux-aio: properly bubble up errors from initialization")
Reported-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Nishanth Aravamudan <naravamudan@digitalocean.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180718211256.29774-1-naravamudan@digitalocean.com
Cc: Eric Blake <eblake@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Cc: Max Reitz <mreitz@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Fam Zheng <famz@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qapi/introspect.json')
0 files changed, 0 insertions, 0 deletions