From nobody Mon Nov 25 14:37:28 2024 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=1714982660; cv=none; d=zohomail.com; s=zohoarc; b=R2ISNE/hGczScEdyKHcPaVPvROUmKraQZI7CvIdLgetAk2R5KPSdaoT7RYds5x/B4WpM2JdYdZtM7GdPOav4cOE/HbM5ABkW/c6Ksg8f7GAloivV14sekCgyZwomXuayGevn/4Ts1rjJylgjPDoG1Nvy2ZGhaLaZQeUPC60UY+0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1714982660; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=fT1y4KqRaxFcPgY6/amvw3l0h4xpM4rtBuLLxm77NYA=; b=kRINgd+yisoQFgQ+mkuVQ7uEx1L0FVTGhmAI9W9/Oz8lHBLVgj5pUo4Yhv/dm60bdeKkqwO/5ZXEaKWBz5RGzKRjFZCv82u8RNdLEJ5SJqk2qf9rBzT61g0U4lqmJvUj+3sdxSnJWwUA72/z9jh2O2+OoQz/o7wo61qxERPrFto= 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 171498266098336.23555619691808; Mon, 6 May 2024 01:04:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3tAT-0000dd-6T; Mon, 06 May 2024 03:53:49 -0400 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 1s3t9s-00088m-2T for qemu-devel@nongnu.org; Mon, 06 May 2024 03:53:13 -0400 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 1s3t9q-0001nR-Dy for qemu-devel@nongnu.org; Mon, 06 May 2024 03:53:11 -0400 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_256_GCM_SHA384) id us-mta-351-h7n7uO4XM-W4UXOFHTYIhA-1; Mon, 06 May 2024 03:53:08 -0400 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a59c0ecd59cso81001766b.2 for ; Mon, 06 May 2024 00:53:08 -0700 (PDT) Received: from avogadro.local ([151.95.155.52]) by smtp.gmail.com with ESMTPSA id jl24-20020a17090775d800b00a599acaff03sm3624761ejc.19.2024.05.06.00.53.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 00:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714981989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fT1y4KqRaxFcPgY6/amvw3l0h4xpM4rtBuLLxm77NYA=; b=gLbRnRoebOZoSJLeep9iF+2WoQ+u5wWRJwldHvNxLjSAPON/ybVWUnmd3p04pSYCgAovnJ 05nZxmKVTapIlg/XA2919vLkT5Rub59ZliiiMubVk5L/SU6p9MRptkXy0UHhA5GF9bC5Sh JZG/L1ZuYVcNXW8bKUPoSYMrrPzlB1o= X-MC-Unique: h7n7uO4XM-W4UXOFHTYIhA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714981987; x=1715586787; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fT1y4KqRaxFcPgY6/amvw3l0h4xpM4rtBuLLxm77NYA=; b=NDBRaICSXp3b4b9SCQ1yt3ivIlhbkEBa9lw3YJk3El3ua+ckhwja9jy3Itr4IjCI6G uNlDaSm6gvH3hUm8p7x9jkszWV20XpuDJ0ARL3+ruT1W3mosBE6j3etPRaVtfKiofP60 bchN8ieer9OTk+S1OE2AfaEBUE/NaA4KaQL+0n7/Ida+zFPF8GtM5e1AwyT+bGKdUoc4 xpfeQnj0CKXAxbBuFTzgCVqsITiblJQQf0ybchZK6l6Xj12Gx8jmM3/zyrD6vEA+zTLc /l4fU8zYuKpl/WsThG5U7aCgVbEfaN9LXeCwfBL7BHD33D71/D4ePyLOiDPqtSDi4fBG L/IQ== X-Gm-Message-State: AOJu0YyBKJ9R4DXlJ166YRdWAGkQ0Ve/7J3Ct5XYAjM7VC+EabSC/X90 TFhnbK/o+wQi/lEG1ijyRrP3rgynoPLbS+wRlS4ecU1JO577uNPu/RVH7T7hAwYIVuhuCepliwr KI39HC+OfSlFE7YlxuDWJENhvuXxcZNB370e20YmTG8paeaACIVoaKvriQV1tSXMak8otv+a8pr mzI6VPrZ3oX2ym8uOpxHoNET/Dl6ng07BsDJGn X-Received: by 2002:a17:906:aad7:b0:a59:a8a4:a5aa with SMTP id kt23-20020a170906aad700b00a59a8a4a5aamr5203490ejb.44.1714981986863; Mon, 06 May 2024 00:53:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFL8j0yafyXmQL6Vowj+aq3whBUCYhkWpYqxgexTkC0flFxyuwGNgO4Xcn0Kf73jdpEoZFSog== X-Received: by 2002:a17:906:aad7:b0:a59:a8a4:a5aa with SMTP id kt23-20020a170906aad700b00a59a8a4a5aamr5203476ejb.44.1714981986481; Mon, 06 May 2024 00:53:06 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 40/46] qapi/machine: remove types from typedefs.h Date: Mon, 6 May 2024 09:51:19 +0200 Message-ID: <20240506075125.8238-41-pbonzini@redhat.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240506075125.8238-1-pbonzini@redhat.com> References: <20240506075125.8238-1-pbonzini@redhat.com> MIME-Version: 1.0 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: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.431, 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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: 1714982661718100003 Content-Type: text/plain; charset="utf-8" They are needed in very few places, which already depends on other generate= d QAPI files. The benefit of having these types in typedefs.h is small. Signed-off-by: Paolo Bonzini --- include/hw/core/cpu.h | 1 + include/qemu/typedefs.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 46b99a7ea55..a23d39f6a0c 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -28,6 +28,7 @@ #include "exec/memattrs.h" #include "exec/mmu-access-type.h" #include "exec/tlb-common.h" +#include "qapi/qapi-types-machine.h" #include "qapi/qapi-types-run-state.h" #include "qemu/bitmap.h" #include "qemu/rcu_queue.h" diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index b71a36d02b2..78598f27f32 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -37,12 +37,10 @@ typedef struct BusClass BusClass; typedef struct BusState BusState; typedef struct Chardev Chardev; typedef struct Clock Clock; -typedef struct CompatProperty CompatProperty; typedef struct ConfidentialGuestSupport ConfidentialGuestSupport; typedef struct CPUAddressSpace CPUAddressSpace; typedef struct CPUArchState CPUArchState; typedef struct CPUPluginState CPUPluginState; -typedef struct CpuInfoFast CpuInfoFast; typedef struct CPUJumpCache CPUJumpCache; typedef struct CPUState CPUState; typedef struct CPUTLBEntryFull CPUTLBEntryFull; --=20 2.44.0