Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0049C4332F for ; Wed, 21 Dec 2022 13:29:38 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7yvp-0004vh-Kb; Wed, 21 Dec 2022 08:14:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7yvi-0004rC-8C for qemu-devel@nongnu.org; Wed, 21 Dec 2022 08:14:43 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7yvf-0005ek-MP for qemu-devel@nongnu.org; Wed, 21 Dec 2022 08:14:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671628478; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jixNWlv1sQlaZkNsh+tROEMOrzAQywOVNM712OxjWT4=; b=IoZAyUu06JWMhgnoUVDrTGr4s4xa4LMfF8FrbgsuN2D0wIFHmHrMz+uYS5KH5m07bF+9xm r6g5i12cfJ3ROdj1KCTKtyJC7wt1rcI4KrsizZu46tIvMhCqm3EgZYyOvtWQ5z9GzQU81k PTO7ue3KTcWOhT8Jg1CxlMRe8HeG8T8= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-277-nG5cnnN8NkqJGynNnOYh_g-1; Wed, 21 Dec 2022 08:14:37 -0500 X-MC-Unique: nG5cnnN8NkqJGynNnOYh_g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D61AB3813F2E for ; Wed, 21 Dec 2022 13:14:36 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.39.195.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A87E7112132C; Wed, 21 Dec 2022 13:14:36 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 99E3D21E691D; Wed, 21 Dec 2022 14:14:35 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, kwolf@redhat.com, pbonzini@redhat.com Subject: [PATCH v3 0/5] coroutine: Clean up includes Date: Wed, 21 Dec 2022 14:14:30 +0100 Message-Id: <20221221131435.3851212-1-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Received-SPF: pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org v3: * PATCH 4: Unnecessary hunks dropped v2: * Rebased * PATCH 4: Rewritten [Paolo] * PATCH 5: New Markus Armbruster (5): coroutine: Clean up superfluous inclusion of qemu/coroutine.h coroutine: Move coroutine_fn to qemu/osdep.h, trim includes coroutine: Clean up superfluous inclusion of qemu/lockable.h coroutine: Split qemu/coroutine-core.h off qemu/coroutine.h coroutine: Use Coroutine typedef name instead of structure tag crypto/block-luks-priv.h | 1 - hw/9pfs/coth.h | 2 +- include/block/aio.h | 9 +- include/block/aio_task.h | 2 - include/block/block-common.h | 1 - include/block/graph-lock.h | 2 - include/block/raw-aio.h | 1 - include/io/channel.h | 2 +- include/monitor/hmp.h | 1 - include/qemu/coroutine-core.h | 154 ++++++++++++++++++++++++++++++++++ include/qemu/coroutine.h | 113 ++----------------------- include/qemu/lockable.h | 2 +- include/qemu/osdep.h | 16 ++++ include/qemu/progress_meter.h | 2 +- include/qemu/typedefs.h | 1 - include/scsi/pr-manager.h | 1 - nbd/nbd-internal.h | 1 - block/progress_meter.c | 2 + blockjob.c | 1 - crypto/block-luks.c | 1 - hw/9pfs/codir.c | 1 - hw/9pfs/cofile.c | 1 - hw/9pfs/cofs.c | 1 - hw/9pfs/coxattr.c | 1 - nbd/client-connection.c | 1 + tests/unit/test-aio.c | 2 +- tests/unit/test-coroutine.c | 2 - tests/unit/test-vmstate.c | 1 - ui/console.c | 1 + util/async.c | 4 +- util/qemu-coroutine-lock.c | 1 - util/qemu-coroutine-sleep.c | 1 - util/qemu-coroutine.c | 1 - 33 files changed, 192 insertions(+), 141 deletions(-) create mode 100644 include/qemu/coroutine-core.h -- 2.38.1