All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] migration: followups for writev patches
@ 2013-03-27 16:36 Paolo Bonzini
  2013-03-27 16:36 ` [Qemu-devel] [PATCH 1/6] qemu-file: drop socket_put_buffer Paolo Bonzini
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Paolo Bonzini @ 2013-03-27 16:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: owasserm, quintela

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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [Qemu-devel] [PULL (rebased) 0/6] migration: followups for writev patches
@ 2013-04-17  9:46 Paolo Bonzini
  2013-04-17  9:46 ` [Qemu-devel] [PATCH 5/6] iov: handle partial writes from sendmsg and recvmsg Paolo Bonzini
  0 siblings, 1 reply; 17+ messages in thread
From: Paolo Bonzini @ 2013-04-17  9:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: owasserm, quintela

Anthony,

as agreed off-list I'm sending you a pull request for the rebased patches,
adding some new migration code but mostly touching iov.c.

The following changes since commit e0a83fc2c1582dc8d4453849852ebe6c258b7c3a:

  qom: do nothing on unparent of object without parent (2013-04-16 16:10:21 -0500)

are available in the git repository at:

  git://github.com/bonzini/qemu.git migration-writev

for you to fetch changes up to e9d8fbf53a33983c81d67d18e1baa914eb16cdea:

  qemu-file: do not use stdio for qemu_fdopen (2013-04-17 11:44:22 +0200)

----------------------------------------------------------------
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   | 114 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
 util/iov.c | 104 +++++++++++++++++++++++++++++++------------------------
 2 files changed, 149 insertions(+), 69 deletions(-)
-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-04-17  9:47 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 16:36 [Qemu-devel] [PATCH 0/6] migration: followups for writev patches Paolo Bonzini
2013-03-27 16:36 ` [Qemu-devel] [PATCH 1/6] qemu-file: drop socket_put_buffer Paolo Bonzini
2013-04-09 13:20   ` Juan Quintela
2013-03-27 16:36 ` [Qemu-devel] [PATCH 2/6] iov: reorganize iov_send_recv, part 1 Paolo Bonzini
2013-04-09 13:18   ` Juan Quintela
2013-03-27 16:36 ` [Qemu-devel] [PATCH 3/6] iov: reorganize iov_send_recv, part 2 Paolo Bonzini
2013-04-09 13:23   ` Juan Quintela
2013-03-27 16:36 ` [Qemu-devel] [PATCH 4/6] iov: reorganize iov_send_recv, part 3 Paolo Bonzini
2013-04-09 13:24   ` Juan Quintela
2013-03-27 16:36 ` [Qemu-devel] [PATCH 5/6] iov: handle partial writes from sendmsg and recvmsg Paolo Bonzini
2013-04-09 13:27   ` Juan Quintela
2013-03-27 16:36 ` [Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen Paolo Bonzini
2013-04-09 13:30   ` Juan Quintela
2013-04-16 21:09   ` Anthony Liguori
2013-04-03  8:08 ` [Qemu-devel] [PATCH 0/6] migration: followups for writev patches Orit Wasserman
2013-04-16 15:41   ` Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2013-04-17  9:46 [Qemu-devel] [PULL (rebased) " Paolo Bonzini
2013-04-17  9:46 ` [Qemu-devel] [PATCH 5/6] iov: handle partial writes from sendmsg and recvmsg Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.