diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-04-25 11:46:41 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-12 15:22:07 +0200 |
commit | 166fe9605128e9dfa2b20dd7cc97c64cc98394e4 (patch) | |
tree | f4724023dff9aa8ed75a3b818b8b7a41bfdf1c8e /block/nbd.c | |
parent | dd7f7ed10459d4ed9787ba464cebf8c459491d8c (diff) |
block: Introduce bdrv_driver_preadv()
This is a function that simply calls into the block driver for doing a
read, providing the byte granularity interface we want to eventually
have everywhere, and using whatever interface that driver supports.
For now, this is just a wrapper for calling bs->drv->bdrv_co_readv().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions