diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-05-30 12:06:33 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-07-05 16:46:26 +0200 |
commit | ebb7af217339a971bbac91e3697ba76226154a8c (patch) | |
tree | 561d3f375126e290a008eef26df04f5a9e4f5440 /block/qed-table.c | |
parent | 25ec177d90de0992f4d4d5be8ab1e02b9fa2bdf1 (diff) | |
download | qemu-ebb7af217339a971bbac91e3697ba76226154a8c.zip qemu-ebb7af217339a971bbac91e3697ba76226154a8c.tar.gz qemu-ebb7af217339a971bbac91e3697ba76226154a8c.tar.bz2 |
block: Convert bdrv_aio_readv() to BdrvChild
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qed-table.c')
-rw-r--r-- | block/qed-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qed-table.c b/block/qed-table.c index c841ad1..2db0a33 100644 --- a/block/qed-table.c +++ b/block/qed-table.c @@ -65,7 +65,7 @@ static void qed_read_table(BDRVQEDState *s, uint64_t offset, QEDTable *table, read_table_cb->iov.iov_len = s->header.cluster_size * s->header.table_size, qemu_iovec_init_external(qiov, &read_table_cb->iov, 1); - bdrv_aio_readv(s->bs->file->bs, offset / BDRV_SECTOR_SIZE, qiov, + bdrv_aio_readv(s->bs->file, offset / BDRV_SECTOR_SIZE, qiov, qiov->size / BDRV_SECTOR_SIZE, qed_read_table_cb, read_table_cb); } |