diff options
Diffstat (limited to 'block/bochs.c')
-rw-r--r-- | block/bochs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bochs.c b/block/bochs.c index 46f635f2e7..8c9652ebeb 100644 --- a/block/bochs.c +++ b/block/bochs.c @@ -255,7 +255,7 @@ bochs_co_preadv(BlockDriverState *bs, uint64_t offset, uint64_t bytes, qemu_iovec_concat(&local_qiov, qiov, bytes_done, 512); if (block_offset > 0) { - ret = bdrv_co_preadv(bs->file->bs, block_offset, 512, + ret = bdrv_co_preadv(bs->file, block_offset, 512, &local_qiov, 0); if (ret < 0) { goto fail; |