From nobody Mon Feb 9 22:38:45 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1671645954; cv=none; d=zohomail.com; s=zohoarc; b=Sby2hDBL2L7d2Y1zivB775womrgoImj0l0EByozy92bRFYapSG34dLGrUCZC7kO9ydtnvTvx4gW1TSfao6ttLbx16Ju0b9FEe8Wq8o4ucVpoaL84EVVqa4aSpv+YQhBfAb/6l0qG619KtBS2AH9vj5XZ8ZUHaczhjq1aw7ausho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671645954; h=Content-Type:Content-Transfer-Encoding:Cc: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; bh=0RLjBKC7zuAW/a6ddtPwalPoTZK/tLDETD58h1g0NvY=; b=jJeKMxgQW0GyNQfz+llYpGvs6NxIgxhDCNzgF3DsbbvL1HYKsH9Gysfp7QIChEOJNM0MM6p7p2ERncLpMHvnpxkwbzFlBbicnpaneupWM2VPsvSjf0S2kI5UvxP7vLFcmz+2dhOqx2GVmXXDkaVY9Bt2JNeuD/ysDNk9z3ztx9M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1671645954187324.0569471109459; Wed, 21 Dec 2022 10:05:54 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p83Py-0000Tu-Qh; Wed, 21 Dec 2022 13:02:15 -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 1p83Pl-0000Is-8Y for qemu-devel@nongnu.org; Wed, 21 Dec 2022 13:02:02 -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 1p83Pi-0004GK-Sw for qemu-devel@nongnu.org; Wed, 21 Dec 2022 13:02:00 -0500 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-449-Qzw0oBfONwO6k6MSVVIXhg-1; Wed, 21 Dec 2022 13:01:56 -0500 Received: by mail-ej1-f70.google.com with SMTP id hr34-20020a1709073fa200b0083a60c1d7abso2898064ejc.13 for ; Wed, 21 Dec 2022 10:01:56 -0800 (PST) Received: from avogadro.local ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.gmail.com with ESMTPSA id g19-20020a170906539300b007c0efbaa8a0sm7393236ejo.4.2022.12.21.10.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Dec 2022 10:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671645718; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0RLjBKC7zuAW/a6ddtPwalPoTZK/tLDETD58h1g0NvY=; b=dEsK9ojsliWVEZV88JAaELcedNMwdyVlp5npPtTXkxjlqsYRSAKXM0zRtFmrB2MUD2KNRK O3jkh5DhyVXmrUpwWifn2L6iePPQO1UU0vKuvXSLIAXUXB41nRDSfMdec/4vef6siaS7kn l97YBcL7HMWCU1xLMGFB6T1biRIgIUQ= X-MC-Unique: Qzw0oBfONwO6k6MSVVIXhg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0RLjBKC7zuAW/a6ddtPwalPoTZK/tLDETD58h1g0NvY=; b=q4pXS9AGA+UA8U6MEdBMCVibtxkUcrWYgXyS5X6rSv304GeZMvtcCff/3DrXqq88ZS sDfEGV5TjDoe1K3XVNvrPGfNk7OH8n/4VtUAlluspSrRJ9CairgTV+xuAr5v6b2nBjd7 f0SGhjV9SwWwRp+byRmt6XwHVXHanppWZ/jVvW5Okfow1bmg0pmyupsnQmXx/0MLzevK R2l+7muhmrfdEnjyw5G9raGRk7YOnOHrnZLDIu0zM9c5W6zAyPLvl564LEUevIi2fe5o xc02bsgBWeF7K70cNKc+SSmALymQ0iJkPSC87GQ0XlAUAq6bRI+db0gGGFTprAZ2BfdO RmLQ== X-Gm-Message-State: AFqh2krkHZkQOv5RkmUsFXRiLVbq5sCJaArtORayxjqG1B/P7UmzVaIZ bJf7uQiucYq31YRrp6ipQtH17KfwTUq+qXvgeapWkgvUPWaxR+p81JcUOOttMPGwfVywLUGeQoJ P271vm39Eg12nmuo6KcUiDkH4CRSQTJ3R37WSnzOxGkQ6AbYmYX9dD+krpFMeWSTu5Qg= X-Received: by 2002:a17:906:6d47:b0:7c1:311f:3533 with SMTP id a7-20020a1709066d4700b007c1311f3533mr1835070ejt.60.1671645707400; Wed, 21 Dec 2022 10:01:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXvrOfnABj65B+r5b8WvUglItAVeJrJ5ALfnC3UhP2YjqafZGRBgcSAaZety3uLWw8Z1NI6jTA== X-Received: by 2002:a17:906:6d47:b0:7c1:311f:3533 with SMTP id a7-20020a1709066d4700b007c1311f3533mr1835045ejt.60.1671645707108; Wed, 21 Dec 2022 10:01:47 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Fabiano Rosas Subject: [PULL 01/24] typedefs: Forward-declare AccelState Date: Wed, 21 Dec 2022 19:01:18 +0100 Message-Id: <20221221180141.839616-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221221180141.839616-1-pbonzini@redhat.com> References: <20221221180141.839616-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.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; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@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, PP_MIME_FAKE_ASCII_TEXT=0.001, 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671645954635100001 From: Philippe Mathieu-Daud=C3=A9 Forward-declare AccelState in "qemu/typedefs.h" so structures using a reference of it (like MachineState in "hw/boards.h") don't have to include "qemu/accel.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Fabiano Rosas Message-Id: <20221130135641.85328-2-philmd@linaro.org> Signed-off-by: Paolo Bonzini --- include/qemu/accel.h | 4 ++-- include/qemu/typedefs.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/qemu/accel.h b/include/qemu/accel.h index ce4747634a7c..e84db2e3e504 100644 --- a/include/qemu/accel.h +++ b/include/qemu/accel.h @@ -26,10 +26,10 @@ #include "qom/object.h" #include "exec/hwaddr.h" =20 -typedef struct AccelState { +struct AccelState { /*< private >*/ Object parent_obj; -} AccelState; +}; =20 typedef struct AccelClass { /*< private >*/ diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index 688408e0481e..073abab9988a 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -21,6 +21,7 @@ * Incomplete struct types * Please keep this list in case-insensitive alphabetical order. */ +typedef struct AccelState AccelState; typedef struct AdapterInfo AdapterInfo; typedef struct AddressSpace AddressSpace; typedef struct AioContext AioContext; --=20 2.38.1