From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvCSJ-0005s2-84 for qemu-devel@nongnu.org; Tue, 15 Jan 2013 14:45:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvCSI-0001uF-0l for qemu-devel@nongnu.org; Tue, 15 Jan 2013 14:45:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvCSH-0001uA-PP for qemu-devel@nongnu.org; Tue, 15 Jan 2013 14:45:53 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0FJjqHN022607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Jan 2013 14:45:52 -0500 Message-ID: <50F5B1EF.8010609@redhat.com> Date: Tue, 15 Jan 2013 12:45:51 -0700 From: Eric Blake MIME-Version: 1.0 References: <1358248702-14278-1-git-send-email-quintela@redhat.com> <1358248702-14278-4-git-send-email-quintela@redhat.com> In-Reply-To: <1358248702-14278-4-git-send-email-quintela@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2ODOKVSDQCOUVOVDNFMMK" Subject: Re: [Qemu-devel] [PATCH 03/14] use XFER_LIMIT_RATIO consistently List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: Paolo Bonzini , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2ODOKVSDQCOUVOVDNFMMK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/15/2013 04:18 AM, Juan Quintela wrote: > From: Paolo Bonzini >=20 > Previous patch missed this case Might be worth mentioning _which_ previous patch, now that there is quite a gap in the git history. >=20 > Signed-off-by: Paolo Bonzini > Signed-off-by: Juan Quintela > --- > migration.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/migration.c b/migration.c > index c69e864..d6ec3e8 100644 > --- a/migration.c > +++ b/migration.c > @@ -650,7 +650,7 @@ static int64_t buffered_set_rate_limit(void *opaque= , int64_t new_rate) > new_rate =3D SIZE_MAX; > } >=20 > - s->xfer_limit =3D new_rate / 10; > + s->xfer_limit =3D new_rate / XFER_LIMIT_RATIO; >=20 > out: > return s->xfer_limit; >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2ODOKVSDQCOUVOVDNFMMK 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/ iQEcBAEBCAAGBQJQ9bHvAAoJEKeha0olJ0NqJCcIAIhOwMVlHTb4LGxQycN3FGc/ rscVXA6Ks/6Om5iB/N/RpjCC48UBgJ+bqeW/fRQSj5AiQxNqOEiLicDwj3fR+/iu T1yPE2JRDSdvGJH8OKvnCsfDgs6g+U4xrWitcijAP8CO6+XMW9Xp9BriW/3p/uQh Q1IWZC+3LuPfP5NH99xGFsKycG3agwOUta9JyCo6d2p6667OyhTiPjntWke9YhLM TIIK+br3UzFhysLhjLSDHkRZn2Prstbbl9zjhlowWoWnk+mWjMQXR80EF3oLgEyN D1KQSH9OUJs6BO1gjXqyYaDOm+n8lQNu+lupdNJ2DbPd/QhpisGnAAKcGhS5490= =XT4Z -----END PGP SIGNATURE----- ------enig2ODOKVSDQCOUVOVDNFMMK--