diff options
| author | Fam Zheng | 2015-11-09 11:16:51 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2015-11-12 16:22:43 +0100 |
| commit | 5c5ae76acb024f05b8f021e9f1e10a0299328bdd (patch) | |
| tree | 81a83d45b9c9fac6d53da44dcc90e6d78440e0fa /include/block | |
| parent | block: Add ioctl parameter fields to BlockRequest (diff) | |
| download | qemu-5c5ae76acb024f05b8f021e9f1e10a0299328bdd.tar.gz qemu-5c5ae76acb024f05b8f021e9f1e10a0299328bdd.tar.xz qemu-5c5ae76acb024f05b8f021e9f1e10a0299328bdd.zip | |
block: Emulate bdrv_ioctl with bdrv_aio_ioctl and track both
Currently all drivers that support .bdrv_aio_ioctl also implement
.bdrv_ioctl redundantly. To track ioctl requests in block layer it is
easier if we unify the two paths, because we'll need to run it in a
coroutine, as required by tracked_request_begin. While we're at it, use
.bdrv_aio_ioctl plus aio_poll() to emulate bdrv_ioctl().
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1447064214-29930-7-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions
