From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIlMM-0007aM-12 for qemu-devel@nongnu.org; Thu, 21 Mar 2013 15:41:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIlMK-00049Z-M4 for qemu-devel@nongnu.org; Thu, 21 Mar 2013 15:41:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIlMK-00049G-CQ for qemu-devel@nongnu.org; Thu, 21 Mar 2013 15:41:08 -0400 Message-ID: <514B6250.6010105@redhat.com> Date: Thu, 21 Mar 2013 13:41:04 -0600 From: Eric Blake MIME-Version: 1.0 References: <1363890878-8161-1-git-send-email-owasserm@redhat.com> <1363890878-8161-9-git-send-email-owasserm@redhat.com> In-Reply-To: <1363890878-8161-9-git-send-email-owasserm@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2QBHKFAKNJMEGWEPWXOXX" Subject: Re: [Qemu-devel] [PATCH v4 8/8] coalesce adjacent iovecs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Orit Wasserman Cc: pbonzini@redhat.com, quintela@redhat.com, chegu_vinod@hp.com, qemu-devel@nongnu.org, mst@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2QBHKFAKNJMEGWEPWXOXX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/21/2013 12:34 PM, Orit Wasserman wrote: > This way we send one big buffer instead of many small ones >=20 > Signed-off-by: Orit Wasserman > --- > savevm.c | 19 +++++++++++++++---- > 1 file changed, 15 insertions(+), 4 deletions(-) >=20 > diff --git a/savevm.c b/savevm.c > index b024354..9e8ddee 100644 > --- a/savevm.c > +++ b/savevm.c > @@ -622,6 +622,18 @@ int qemu_fclose(QEMUFile *f) > return ret; > } > =20 > +static void add_to_iovec(QEMUFile *f, const uint8_t *buf, int size) > +{ > + /* check for adjoint buffer and colasce them */ s/adjoint/adjacent/ s/colasce/coalesce/ --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2QBHKFAKNJMEGWEPWXOXX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRS2JQAAoJEKeha0olJ0Nq5a0H/28rZWjK/v3C+7khO4YYoAsC vH+JEkLJbXL2Ukzmf4k7UyCYYZr9WrqUmkPW+81V19Tbm9q1m3dnCg/bAMBl35+4 X+O530Iadros43Y2zMQ/QZNsCdQQ0adp7wTWlzXbriwYNA8y7wfP4A+4sLwtqAnm 8bPZv3Vh/C0jswEuxQr+otIqIvnX4x1oWGX+PxqOV8wRXqi+6sSeIHc88MJcef+E Is/j0A/ijXXEw5fyNihO0I2aYQeyud8lhPv4LoLSPSdGDBEDXKbcC/k99CgwJzCK Bg1JYfntB9lCAe6qeb4zEVGVU0JD2RcX213B/9V5uBpuqFbOq058FKZfRmmfGD4= =XYRr -----END PGP SIGNATURE----- ------enig2QBHKFAKNJMEGWEPWXOXX--