qemu/util
Paolo Bonzini 5209d6753c iov: reorganize iov_send_recv, part 2
Do not touch the "bytes" argument anymore.  Instead, remember the
original length of the last iovec if we touch it, and restore it
afterwards.

This requires undoing the changes in opposite order.  The previous
algorithm didn't care.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Orit Wassermann <owasserm@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-04-17 11:43:44 +02:00
..
acl.c acl: Free memory allocated with g_malloc() with g_free() 2013-01-15 18:25:41 -06:00
aes.c aes: make Td[0-5] and Te[0-5] tables non static 2013-04-13 13:51:57 +02:00
bitmap.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
bitops.c bitops: unroll while loop in find_next_bit() 2013-03-26 13:32:32 +01:00
cache-utils.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
compatfd.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
cutils.c buffer_is_zero: use vector optimizations if possible 2013-03-26 13:32:32 +01:00
envlist.c util: Fix compilation of envlist.c for MinGW 2013-02-02 20:13:19 +00:00
error.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
event_notifier-posix.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
event_notifier-win32.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
fifo8.c hw: move fifo.[ch] to libqemuutil 2013-03-01 13:53:10 +01:00
hbitmap.c hbitmap: Use non-bitops ctzl 2013-02-16 11:11:34 +00:00
hexdump.c iov: Factor out hexdumper 2013-03-15 16:41:58 +00:00
host-utils.c host-utils: Improve mulu64 and muls64 2013-02-17 14:28:58 +00:00
iov.c iov: reorganize iov_send_recv, part 2 2013-04-17 11:43:44 +02:00
Makefile.objs unicode: New mod_utf8_codepoint() 2013-04-13 19:39:59 +00:00
module.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
notify.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
osdep.c osdep: replace setsockopt by qemu_setsockopt 2013-03-08 10:22:14 +01:00
oslib-posix.c migration: initialize RAM to zero 2013-04-16 16:10:20 -05:00
oslib-win32.c oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock() 2013-04-02 11:47:37 -04:00
path.c Replace non-portable asprintf by g_strdup_printf 2013-01-19 10:24:43 +00:00
qemu-config.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00
qemu-error.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
qemu-option.c qemu-option: Add qemu_opts_absorb_qdict() 2013-03-15 16:07:49 +01:00
qemu-progress.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
qemu-sockets.c qemu-socket: set passed fd non-blocking in socket_connect() 2013-04-02 11:47:37 -04:00
qemu-thread-posix.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
qemu-thread-win32.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
qemu-timer-common.c Allow clock_gettime() monotonic clock to be utilized on more OS's 2013-04-04 20:22:45 -05:00
unicode.c unicode: New mod_utf8_codepoint() 2013-04-13 19:39:59 +00:00
uri.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00