From nobody Sun May 5 16:52:20 2024 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=1566556868; cv=none; d=zoho.com; s=zohoarc; b=ohpMYJT2ZNYGJb2N9vNLokNONOdQZ8h+71E2jymrtYK7/be9KOCUZ1afc4kOU8yW8kRZkyFm7hZJVYd/LaQoYJ5tagstIssLx9p6Z7ZbK+SORfK6/y4bRn3SAMxv2mKKsOLGfC9eesVEXQNh30qyj78NAsDo3xuGjqJ/8fljKyg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566556868; h=Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=RZqbxzlKUk9lcirt5xzJX9YGS9II7BqS7VszP/Eo1Dw=; b=MQPbKyoHQjyU5t4dpnDTCjzpYsaQTxjgcqIcMOptMctUMU+6FtVBy8WOhsTrmpPHl3OKpx3D9hNCI43eGNHQmXztVh3P7tjsU158BEkxYoozBlQX0uMCDoVb731E83SgM9c5IzMTQq26EQjXyYnEySfIMEDWkaqF5rJLmtJI/Fw= 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 (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1566556868044437.88184329599324; Fri, 23 Aug 2019 03:41:08 -0700 (PDT) Received: from localhost ([::1]:53932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1709-00078w-86 for importer@patchew.org; Fri, 23 Aug 2019 06:41:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37379) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i16z3-0006WY-4T for qemu-devel@nongnu.org; Fri, 23 Aug 2019 06:39:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i16z0-0007dw-Nh for qemu-devel@nongnu.org; Fri, 23 Aug 2019 06:39:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41126) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i16z0-0007bm-HN for qemu-devel@nongnu.org; Fri, 23 Aug 2019 06:39:50 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BACE318C890F for ; Fri, 23 Aug 2019 10:39:49 +0000 (UTC) Received: from dgilbert-t580.localhost (ovpn-117-244.ams2.redhat.com [10.36.117.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id E20176CE68; Fri, 23 Aug 2019 10:39:48 +0000 (UTC) From: "Dr. David Alan Gilbert (git)" To: qemu-devel@nongnu.org, quintela@redhat.com, berrange@redhat.com Date: Fri, 23 Aug 2019 11:39:46 +0100 Message-Id: <20190823103946.7388-1-dgilbert@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.70]); Fri, 23 Aug 2019 10:39:49 +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] [PATCH] qemu-file: Rework old qemu_fflush comment X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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: "Dr. David Alan Gilbert" Commit 11808bb removed the non-iovec based write support, the comment hung on. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Juan Quintela Reviewed-by: Stefano Garzarella --- migration/qemu-file.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/migration/qemu-file.c b/migration/qemu-file.c index e33c46764f..075faf03c3 100644 --- a/migration/qemu-file.c +++ b/migration/qemu-file.c @@ -201,9 +201,8 @@ static void qemu_iovec_release_ram(QEMUFile *f) /** * Flushes QEMUFile buffer * - * If there is writev_buffer QEMUFileOps it uses it otherwise uses - * put_buffer ops. This will flush all pending data. If data was - * only partially flushed, it will set an error state. + * This will flush all pending data. If data was only partially flushed, it + * will set an error state. */ void qemu_fflush(QEMUFile *f) { --=20 2.21.0