From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPAH0-0007Qb-RT for qemu-devel@nongnu.org; Mon, 08 Apr 2013 07:30:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPAGw-0006Pa-Tf for qemu-devel@nongnu.org; Mon, 08 Apr 2013 07:30:06 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:42096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPAGw-0006MX-NN for qemu-devel@nongnu.org; Mon, 08 Apr 2013 07:30:02 -0400 Received: by mail-wi0-f169.google.com with SMTP id c10so3695000wiw.0 for ; Mon, 08 Apr 2013 04:30:02 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 8 Apr 2013 13:29:53 +0200 Message-Id: <1365420597-5506-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] QEMUFile improvements and simplifications List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, owasserm@redhat.com, quintela@redhat.com This fixes Kevin's reported regression with savevm, and simplifies the QEMUFile code further. Patch 2 could be made a bit smaller at the expense of fixing the regression in the last patch only. I prefer to fix the bug earlier. Tested with Autotest. Paolo Bonzini (4): migration: set f->is_write and flush in add_to_iovec migration: use a single I/O operation when writev_buffer is not defined migration: drop is_write complications migration: simplify writev vs. non-writev logic savevm.c | 104 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 42 insertions(+), 62 deletions(-) -- 1.8.2