From nobody Mon Nov 10 17:55:34 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1557859152; cv=none; d=zoho.com; s=zohoarc; b=j/XdUbvHDKp2JpIPDdAhuOOFkq7YTaHnnDXuKD6hP/C4aHec+0cAi4uNt8P2EujBRA/IH3ACGALI/wzVeXnukcADaIJC91mLbKYdXBwv/I0qNmLLiba93UVrZ6NVJJWSfDGSTejaBmIwWxYfYptG+DSwV5fFiH5/n0W9ip+FRTU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557859152; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=vKnKv0iL8QL+jEHWpeueV3Dk3R6/8DrMeHpuCtPLrEg=; b=EaPKAaCOoiJHJ9UMceotrZTuv6gGZ7LUaQxmAYHKZo3LQbOImW6x/tCEQlrBqou052lJ+c69M7NC1TMs6XjW1EQgw/0ZjNL69tiiZck3MXoaFk9pVBIYr/O5Yft70iwptnE/f60eHiDfvyocMsPVFLmVATCP9DXJhTrApMkREdA= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 155785915299372.32589997758566; Tue, 14 May 2019 11:39:12 -0700 (PDT) Received: from localhost ([127.0.0.1]:52417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQcKT-0001Ra-PB for importer@patchew.org; Tue, 14 May 2019 14:39:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQcGX-0006Ra-P2 for qemu-devel@nongnu.org; Tue, 14 May 2019 14:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQcGW-0000Z9-Sc for qemu-devel@nongnu.org; Tue, 14 May 2019 14:35:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50354) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQcGW-0000Xr-Mk for qemu-devel@nongnu.org; Tue, 14 May 2019 14:35:04 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C58893087BD2; Tue, 14 May 2019 18:35:03 +0000 (UTC) Received: from dgilbert-t580.localhost (ovpn-117-232.ams2.redhat.com [10.36.117.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 40BDA608A6; Tue, 14 May 2019 18:35:02 +0000 (UTC) From: "Dr. David Alan Gilbert (git)" To: qemu-devel@nongnu.org, quintela@redhat.com, peterx@redhat.com, ehabkost@redhat.com, richardw.yang@linux.intel.com, yury-kotov@yandex-team.ru, chen.zhang@intel.com Date: Tue, 14 May 2019 19:34:41 +0100 Message-Id: <20190514183454.12758-4-dgilbert@redhat.com> In-Reply-To: <20190514183454.12758-1-dgilbert@redhat.com> References: <20190514183454.12758-1-dgilbert@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Tue, 14 May 2019 18:35:04 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 03/16] migration: remove not used field xfer_limit X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Wei Yang MigrationState->xfer_limit is only set to 0 in migrate_init(). Remove this unnecessary field. Signed-off-by: Wei Yang Message-Id: <20190326055726.10539-1-richardw.yang@linux.intel.com> Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Dr. David Alan Gilbert --- migration/migration.c | 1 - migration/migration.h | 1 - 2 files changed, 2 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index 609e0df5d0..4844ad438b 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1681,7 +1681,6 @@ void migrate_init(MigrationState *s) * locks. */ s->bytes_xfer =3D 0; - s->xfer_limit =3D 0; s->cleanup_bh =3D 0; s->to_dst_file =3D NULL; s->state =3D MIGRATION_STATUS_NONE; diff --git a/migration/migration.h b/migration/migration.h index 438f17edad..780a096857 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -117,7 +117,6 @@ struct MigrationState =20 /*< public >*/ size_t bytes_xfer; - size_t xfer_limit; QemuThread thread; QEMUBH *cleanup_bh; QEMUFile *to_dst_file; --=20 2.21.0