From patchwork Mon Feb 19 14:14:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 774085 Delivered-To: patch@linaro.org Received: by 2002:a5d:4943:0:b0:33b:4db1:f5b3 with SMTP id r3csp1180903wrs; Mon, 19 Feb 2024 06:14:55 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV5AJp2b+WONQb4uiA6rf1AQw2AE4V4i1760x3BXpHpB1nukZIrkTL9RNPeLJC+5jmqU323eqh+PB9cn1bV2AK5 X-Google-Smtp-Source: AGHT+IENVBlxBPYy58aGpNVbhK30wACpS0buNy5ml3/8zh/vFIKLZRhJgi/rIk0wLfXCPKEW1jC5 X-Received: by 2002:a05:6102:50a1:b0:470:660f:33bb with SMTP id bl33-20020a05610250a100b00470660f33bbmr1111582vsb.4.1708352095086; Mon, 19 Feb 2024 06:14:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708352095; cv=none; d=google.com; s=arc-20160816; b=Pj/CvCzX1jpsptGJXJcRT75UCNq/lGD2OysVw1ype0bXWzRlQcrG8TVvC2/wA2np/k lI2nRJ9tequQnqHzEI5FyvlNC/Fy0v48u9uNFt/yd6D+ywD6GUAcAtlomaFVZqFDV5Mx WnSAlZTsAwu9IPzcGRJIYu5jizPN0apJpPqnOronulXzB46GjWAdTx/BWAy/ctHzaH6d 6aw3MeWyq15+Z73nSuXn2zwKlBnq4CZf3g1iwu/kT+0udkzpARrkJVjjrG5RtMtKlQ22 etE/Zktu5juqnMTH21YlnJ0U/Epge58wgtG5PVuSEMauhhhs9pH6giYoZEN6xjl75h8G d3Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RrGDeP6FKIUU6jW18CkpL97+y4+8zvvTBqQzIVQHxhI=; fh=samD0lp4jLKeDhkTkeB861D9LItYSgbb2UVql1zSm0s=; b=teUSeE9q5QIixW7bwZ9LJRnovMHo9TrbkpvQwHHYSk0fFGqSNlp1bNv4hlof2SnLC3 Qm3l1BVzUAJTQfzZlYPrVIruQKsym86Qd8wa0UENqa4Yxb/ch8nCaVZsjQk0ZdFV7JAM tbEZEZZzF+rqMiVcQgtxVmCmldP+R/vTGHkW5qjgVawGObMdArqBs8PMt9JzVXb74aCS hpf9ZWVNVsHMqUdoeXv7BT8mYolr0lHR5eXcxLIhHXVV7GA+EoTflqGTNuAeGkIAqP6p K8dndrUEirrVBux48xB+xkWNaftOUI6vg9SDCGkHVN+Nln8KhNvGl02KxPRvtTQttYxg XJ0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZEv+ioZj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k28-20020a056102117c00b0046d35974ef2si698791vsg.820.2024.02.19.06.14.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2024 06:14:55 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZEv+ioZj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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) 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-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) 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) From: =?utf-8?q?Philippe_Mathieu-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?P?= =?utf-8?q?hilippe_Mathieu-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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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 support 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 ***list); ^ include/hw/acpi/memory_hotplug.h:51:55: error: unknown type name 'ACPIOSTInfoList' void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***list); ^ Signed-off-by: Philippe Mathieu-Daudé 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 +#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_hotplug.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 +#include "qapi/qapi-types-acpi.h" #include "hw/qdev-core.h" #include "hw/acpi/acpi.h" #include "hw/acpi/aml-build.h"