summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFam Zheng2015-11-09 11:16:51 +0100
committerKevin Wolf2015-11-12 16:22:43 +0100
commit5c5ae76acb024f05b8f021e9f1e10a0299328bdd (patch)
tree81a83d45b9c9fac6d53da44dcc90e6d78440e0fa /docs
parentblock: Add ioctl parameter fields to BlockRequest (diff)
downloadqemu-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 'docs')
0 files changed, 0 insertions, 0 deletions