diff options
author | Michael Tokarev | 2012-06-07 18:22:46 +0200 |
---|---|---|
committer | Michael Tokarev | 2012-06-11 21:12:11 +0200 |
commit | 2fc8ae1dd77fbc55146b602f703add6dc314dea4 (patch) | |
tree | def6fbf7a019737c5933e2a3e8701d85d57d83b1 /hw/xen_backend.c | |
parent | export iov_send_recv() and use it in iov_send() and iov_recv() (diff) | |
download | qemu-2fc8ae1dd77fbc55146b602f703add6dc314dea4.tar.gz qemu-2fc8ae1dd77fbc55146b602f703add6dc314dea4.tar.xz qemu-2fc8ae1dd77fbc55146b602f703add6dc314dea4.zip |
cleanup qemu_co_sendv(), qemu_co_recvv() and friends
The same as for non-coroutine versions in previous
patches: rename arguments to be more obvious, change
type of arguments from int to size_t where appropriate,
and use common code for send and receive paths (with
one extra argument) since these are exactly the same.
Use common iov_send_recv() directly.
qemu_co_sendv(), qemu_co_recvv(), and qemu_co_recv()
are now trivial #define's merely adding one extra arg.
qemu_co_sendv() and qemu_co_recvv() callers are
converted to different argument order and extra
`iov_cnt' argument.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/xen_backend.c')
0 files changed, 0 insertions, 0 deletions