diff options
author | Vladimir Sementsov-Ogievskiy | 2017-08-29 23:48:31 +0200 |
---|---|---|
committer | Eric Blake | 2017-08-30 20:00:38 +0200 |
commit | f35dff7e13b84d3fffe1103c2c69afd81df5e4f5 (patch) | |
tree | 4e80493d19440931bc359190b6996ead00f5f109 /hw/block/nvme.c | |
parent | block/nbd-client: rename nbd_recv_coroutines_enter_all (diff) | |
download | qemu-f35dff7e13b84d3fffe1103c2c69afd81df5e4f5.tar.gz qemu-f35dff7e13b84d3fffe1103c2c69afd81df5e4f5.tar.xz qemu-f35dff7e13b84d3fffe1103c2c69afd81df5e4f5.zip |
block/nbd-client: refactor request send/receive
Add nbd_co_request, to remove code duplications in
nbd_client_co_{pwrite,pread,...} functions. Also this is
needed for further refactoring.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20170804151440.320927-8-vsementsov@virtuozzo.com>
[eblake: make nbd_co_request a wrapper, rather than merging two
existing functions]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/block/nvme.c')
0 files changed, 0 insertions, 0 deletions