From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIjRf-0002cE-V6 for qemu-devel@nongnu.org; Thu, 21 Mar 2013 13:38:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIjRe-0008NN-7B for qemu-devel@nongnu.org; Thu, 21 Mar 2013 13:38:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIjRd-0008N1-JS for qemu-devel@nongnu.org; Thu, 21 Mar 2013 13:38:30 -0400 Message-ID: <514B4592.7030505@redhat.com> Date: Thu, 21 Mar 2013 11:38:26 -0600 From: Eric Blake MIME-Version: 1.0 References: <1363881940-27505-1-git-send-email-owasserm@redhat.com> <1363881940-27505-4-git-send-email-owasserm@redhat.com> In-Reply-To: <1363881940-27505-4-git-send-email-owasserm@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2LKEBXVRUEKQBTJVDWFDH" Subject: Re: [Qemu-devel] [PATCH v3 3/9] Update bytes_xfer in qemu_put_byte 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) ------enig2LKEBXVRUEKQBTJVDWFDH Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/21/2013 10:05 AM, Orit Wasserman wrote: > Signed-off-by: Orit Wasserman > --- > savevm.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/savevm.c b/savevm.c > index baa45ae..686c8c8 100644 > --- a/savevm.c > +++ b/savevm.c > @@ -647,6 +647,8 @@ void qemu_put_byte(QEMUFile *f, int v) > =20 > f->buf[f->buf_index++] =3D v; > f->is_write =3D 1; > + f->bytes_xfer +=3D 1; Why ' +=3D 1' instead of the shorter '++'? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2LKEBXVRUEKQBTJVDWFDH 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/ iQEcBAEBCAAGBQJRS0WTAAoJEKeha0olJ0NqkrAH+wer+BZNmJcqtGHY+CNQLB45 IsEKXypchZEho9Wr/DaYnIZdylOs2NL48gpgOMEowvEhubQVJi4wNq/4cv3XPI+8 AKcwlmHurTW4icl5xbTLppJIxx52VNF5tp8LMjpcEUW3ccmRB+j8bdmkC6kPNrSt IiXKxN2clrczEEjFInyLFSG2+wKCqOIJX7hg+OpPHd4z/1N2cH4jXRfNX/vVSO9j NA/iM0Yd+wb49+uyF369L2zH5U9n01D9SyCqi8WzkjySOcBccUqepQritHbNEu9a v30SG//VlULyftsY+g0tdr3MuubtDH9j5CsPB1maUjqvJ1Y8MTalReyMUCBWAhQ= =2apf -----END PGP SIGNATURE----- ------enig2LKEBXVRUEKQBTJVDWFDH--