From patchwork Tue Sep 8 17:12:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jason J. Herne" X-Patchwork-Id: 515478 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D5C1014012C for ; Wed, 9 Sep 2015 03:19:15 +1000 (AEST) Received: from localhost ([::1]:35971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZMY4-0003nH-K1 for incoming@patchwork.ozlabs.org; Tue, 08 Sep 2015 13:19:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZMXb-0003BZ-Ht for qemu-devel@nongnu.org; Tue, 08 Sep 2015 13:18:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZMXW-00048h-8u for qemu-devel@nongnu.org; Tue, 08 Sep 2015 13:18:43 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:46214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZMXW-00048U-1m for qemu-devel@nongnu.org; Tue, 08 Sep 2015 13:18:38 -0400 Received: from /spool/local by e37.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 Sep 2015 11:13:13 -0600 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e37.co.us.ibm.com (192.168.1.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 8 Sep 2015 11:13:00 -0600 X-Helo: d03dlp01.boulder.ibm.com X-MailFrom: jjherne@linux.vnet.ibm.com X-RcptTo: qemu-devel@nongnu.org Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 1F4771FF00A1 for ; Tue, 8 Sep 2015 11:04:00 -0600 (MDT) Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t88HCo1928639298 for ; Tue, 8 Sep 2015 10:12:50 -0700 Received: from d03av05.boulder.ibm.com (localhost [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t88HCnSB008280 for ; Tue, 8 Sep 2015 11:12:50 -0600 Received: from jason-ThinkPad-W530.endicott.ibm.com (jason-thinkpad-w530.endicott.ibm.com [9.60.75.193] (may be forged)) by d03av05.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t88HCjpx007552; Tue, 8 Sep 2015 11:12:49 -0600 From: "Jason J. Herne" To: afaerber@suse.de, amit.shah@redhat.com, dgilbert@redhat.com, borntraeger@de.ibm.com, quintela@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com Date: Tue, 8 Sep 2015 13:12:37 -0400 Message-Id: <1441732357-11861-6-git-send-email-jjherne@linux.vnet.ibm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441732357-11861-1-git-send-email-jjherne@linux.vnet.ibm.com> References: <1441732357-11861-1-git-send-email-jjherne@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15090817-0025-0000-0000-00001C06DFF0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 32.97.110.158 Cc: "Jason J. Herne" Subject: [Qemu-devel] [PATCH v7 5/5] migration: Disambiguate MAX_THROTTLE X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Migration has a define for MAX_THROTTLE. Update comment to clarify that this is used for throttling transfer speed. Hopefully this will prevent it from being confused with a guest cpu throttling entity. Signed-off-by: Jason J. Herne Reviewed-by: Dr. David Alan Gilbert Reviewed-by: Eric Blake Reviewed-by: Juan Quintela --- migration/migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/migration.c b/migration/migration.c index b29450a..b9faeb0 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -27,7 +27,7 @@ #include "trace.h" #include "qom/cpu.h" -#define MAX_THROTTLE (32 << 20) /* Migration speed throttling */ +#define MAX_THROTTLE (32 << 20) /* Migration transfer speed throttling */ /* Amount of time to allocate to each "chunk" of bandwidth-throttled * data. */