From nobody Thu Nov 14 18:12:47 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1708352095; cv=none; d=zohomail.com; s=zohoarc; b=ERuOK9uyyGthbYbuxZLzztGxo706OXp592T8ESPIGCY8tbOJPuh3B7NKAprl/8bEcTZgoe8fBOuwMrYyLAjFguf7jEmyJaGCrpaaSC3+O82BG49gJoIHXUKlu2vCbP22oaMTjSiqTiNh1c7SGmujBM3jfR9enCgIsOwbBsmnn4E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1708352095; h=Content-Type:Content-Transfer-Encoding:Cc:Cc: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; bh=RrGDeP6FKIUU6jW18CkpL97+y4+8zvvTBqQzIVQHxhI=; b=iHn5kyYWWxNxKVGTBSXMO0OairpWR9G4zq5nkRxb9oxJtvX0f7cUiT+934sRtV/XUMuJ4/dvkh8MlulZR5C3pyT/yfXfmhjYziflArcDrzVcZFdtDbJeusQtVD0ozmGTpToPEZHMqmzZBSZ1heH5CIxIpepx2ZpubutcMPo5r9M= 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 1708352095394507.24074740191736; Mon, 19 Feb 2024 06:14:55 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc4Ph-0003Kf-58; Mon, 19 Feb 2024 09:14:33 -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 1rc4Pc-0003DG-Rb for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:29 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rc4PX-0008PB-Og for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:28 -0500 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-561587ce966so8841347a12.1 for ; Mon, 19 Feb 2024 06:14:23 -0800 (PST) Received: from m1x-phil.lan ([176.176.181.220]) by smtp.gmail.com with ESMTPSA id fg11-20020a056402548b00b00564168e6674sm2569687edb.51.2024.02.19.06.14.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Feb 2024 06:14:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708352061; x=1708956861; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RrGDeP6FKIUU6jW18CkpL97+y4+8zvvTBqQzIVQHxhI=; b=ZEv+ioZjkdfLAJWgCBHaI1a91L2/vdjP6Fl9WapRXiVVBQylbEFq8CYQC1o9Y1TmGo vUGzcXHcqRccomlfZoUhC83FfFgmvInwFeSHs/ighjWR+LepgTCYIJezcol79nYzeQbr w/zCKqmhJvJgdDX3URIYGHJjFRhK+qvEugCTltvVGq5jXThOWRL1Ve8kOhiJ5WECkUhP YEd2sf782ruD6TqFkMua1Y9F/lUF1aaFutqlu5lTDgDGjdf2nwBsx5BUXSV4VEo1pAiz hbcA2ESejZOu7SmQHBEfgaHW5j31jabmWpE4dQdOGFnQ+lwBZnCav/vfHWU0mIcQ46K8 UgWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708352061; x=1708956861; 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=RrGDeP6FKIUU6jW18CkpL97+y4+8zvvTBqQzIVQHxhI=; b=NmNiZNfM3yh5CjQ5FRjm4ryuRRSJmRGw0xPYH4jzvUSRJzaqi/0nNUlLQtam5EC3UX k1u/dFN2WF+t30/NS02NeJmVOcYcZmyQ7unpwkD03gLJVJkcWcAoHNmvOXV6nN1T7kMF 26mxLCiT8v6idWVnRcX7rjOUzbRGUNdtH3FLjZLnguIjgACqOvLpqO0ynMxqraudzHfs w8FkWZAvORuRD0ts/IewNgvpPNPs8lyXpTP6Tqthn1m0sgXPZsOx+BYdfK/lB8x9FayG hPdL+/OnOFq5RY1uu6bi6YP8Qmbuj9m0VmiS4VNMgnEBTcAyWCN3nyf62lB1L32G69fQ iksg== X-Gm-Message-State: AOJu0Yxgpag5o/7AIWclv6UI0uqlvXNOSyPhOTy24OGTydoLntXHVnpN ieB+RD63w7EwlDxQJWZ3iyZePvSWPaCULQtxl/4wJEKdCxDzPqsxuBLtTWcvb56/eeLJDxZj/xf N X-Google-Smtp-Source: AGHT+IHzOgCsF98PrJhe9iNHrFgTY9Z9G0CP6qHwUdgjAVQm+TpUmvtwi+joVmtzO84iqwB2eJ675A== X-Received: by 2002:a05:6402:500f:b0:561:fc2:bec0 with SMTP id p15-20020a056402500f00b005610fc2bec0mr15748624eda.4.1708352061418; Mon, 19 Feb 2024 06:14:21 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Marcel Apfelbaum , Igor Mammedov , "Michael S. Tsirkin" , Ani Sinha , Bernhard Beschow , Eduardo Habkost , qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/5] hw/acpi: Include missing 'qapi/qapi-types-acpi.h' generated header Date: Mon, 19 Feb 2024 15:14:07 +0100 Message-ID: <20240219141412.71418-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240219141412.71418-1-philmd@linaro.org> References: <20240219141412.71418-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::536; envelope-from=philmd@linaro.org; helo=mail-ed1-x536.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 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 @linaro.org) X-ZM-MESSAGEID: 1708352097093100003 ACPIOSTInfo is a QAPI generated structure: $ git grep -w ACPIOSTInfo qapi/acpi.json:81:# @ACPIOSTInfo: qapi/acpi.json:99:{ 'struct': 'ACPIOSTInfo', qapi/acpi.json:109:# Return a list of ACPIOSTInfo for devices that suppor= t status Include the "qapi/qapi-types-acpi.h" header to avoid the following errors when including "hw/acpi/cpu.h" or "hw/acpi/memory_hotplug.h" elsewhere: include/hw/acpi/cpu.h:67:52: error: unknown type name 'ACPIOSTInfoList' void acpi_cpu_ospm_status(CPUHotplugState *cpu_st, ACPIOSTInfoList ***lis= t); ^ include/hw/acpi/memory_hotplug.h:51:55: error: unknown type name 'ACPIOST= InfoList' void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***= list); ^ Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Zhao Liu --- include/hw/acpi/cpu.h | 1 + include/hw/acpi/memory_hotplug.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h index bc901660fb..e011d01adf 100644 --- a/include/hw/acpi/cpu.h +++ b/include/hw/acpi/cpu.h @@ -12,6 +12,7 @@ #ifndef ACPI_CPU_H #define ACPI_CPU_H =20 +#include "qapi/qapi-types-acpi.h" #include "hw/qdev-core.h" #include "hw/acpi/acpi.h" #include "hw/acpi/aml-build.h" diff --git a/include/hw/acpi/memory_hotplug.h b/include/hw/acpi/memory_hotp= lug.h index dfe9cf3fde..38841d7b06 100644 --- a/include/hw/acpi/memory_hotplug.h +++ b/include/hw/acpi/memory_hotplug.h @@ -1,6 +1,7 @@ #ifndef QEMU_HW_ACPI_MEMORY_HOTPLUG_H #define QEMU_HW_ACPI_MEMORY_HOTPLUG_H =20 +#include "qapi/qapi-types-acpi.h" #include "hw/qdev-core.h" #include "hw/acpi/acpi.h" #include "hw/acpi/aml-build.h" --=20 2.41.0