From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvph1-0000EV-AY for qemu-devel@nongnu.org; Thu, 17 Jan 2013 08:39:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tvph0-00047O-8f for qemu-devel@nongnu.org; Thu, 17 Jan 2013 08:39:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvph0-00047J-1F for qemu-devel@nongnu.org; Thu, 17 Jan 2013 08:39:42 -0500 From: Juan Quintela Date: Thu, 17 Jan 2013 14:39:23 +0100 Message-Id: <1358429973-9321-4-git-send-email-quintela@redhat.com> In-Reply-To: <1358429973-9321-1-git-send-email-quintela@redhat.com> References: <1358429973-9321-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 03/13] use XFER_LIMIT_RATIO consistently List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , aliguori@us.ibm.com From: Paolo Bonzini commit 5b4e1eb769eee892b44d3f6b2369b05196442f59 missed this use. Signed-off-by: Paolo Bonzini Signed-off-by: Juan Quintela Reviewed-by: Reviewed-by: Eric Blake --- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = SIZE_MAX; } - s->xfer_limit = new_rate / 10; + s->xfer_limit = new_rate / XFER_LIMIT_RATIO; out: return s->xfer_limit; -- 1.8.1