[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/6] migration: followups for writev patches
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 0/6] migration: followups for writev patches |
Date: |
Wed, 27 Mar 2013 17:36:26 +0100 |
This series fixes a few small problems in Orit's writev patches:
1) socket_put_buffer is not needed anymore and can be dropped (patch 1);
2) sendmsg could do a partial write even for a blocking socket, in
case it is interrupted by a signal. This should not happen for
migration, but it is relatively easy to fix in iov_send_recv (patches
2 to 5);
3) recent libvirt will always use fd migration, and thus will not
benefit from the writev speedups. fd migration also uses FILE*, which
incurs an extra copy. Patch 6 fixes both issues.
Thanks,
Paolo
Paolo Bonzini (6):
qemu-file: drop socket_put_buffer
iov: reorganize iov_send_recv, part 1
iov: reorganize iov_send_recv, part 2
iov: reorganize iov_send_recv, part 3
iov: handle partial writes from sendmsg and recvmsg
qemu-file: do not use stdio for qemu_fdopen
savevm.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
util/iov.c | 104 ++++++++++++++++++++++++++++++++------------------------
2 files changed, 148 insertions(+), 69 deletions(-)
--
1.8.1.4
- [Qemu-devel] [PATCH 0/6] migration: followups for writev patches,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 1/6] qemu-file: drop socket_put_buffer, Paolo Bonzini, 2013/03/27
- [Qemu-devel] [PATCH 2/6] iov: reorganize iov_send_recv, part 1, Paolo Bonzini, 2013/03/27
- [Qemu-devel] [PATCH 3/6] iov: reorganize iov_send_recv, part 2, Paolo Bonzini, 2013/03/27
- [Qemu-devel] [PATCH 4/6] iov: reorganize iov_send_recv, part 3, Paolo Bonzini, 2013/03/27
- [Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen, Paolo Bonzini, 2013/03/27
- [Qemu-devel] [PATCH 5/6] iov: handle partial writes from sendmsg and recvmsg, Paolo Bonzini, 2013/03/27