From nobody Wed Feb 11 01:09:24 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1673735370; cv=none; d=zohomail.com; s=zohoarc; b=lrQ2T6tZ4+k4I3aP6Q87LX+tR5Uuvp07h8JVbR9dMqHIZ5hXg9aCtWyTC0YljZ9crHQNuThgulftIAPG8KtL4esM+5APzhXadaWGI97jUgDUgwSbxl7FftDeNmhU41PeymDBxHkx+QXWu5pTOFaJ5uG7jzz+K8GxEedO7SR7DDY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673735370; h=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=Owcx4mH1ywv43G3/wzVsA1viFGMbTgXcrT4ggMYA3GA=; b=eHzOysrEpPVRFrdQGJmiyzoN3R9nKf593eka05/OcjBeCd5d6ikz4px3tCArvlSfIGED0vJFGBlbR1d9nRLbOJhoiyegna2JIx46hkvXjhKlp3F+WblcNDg53o6ZfKpxBWz8THUdlx0AFxJu8/dz/19Fm+8NkAv7sleugEFOyPc= 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 1673735370080713.1066956822765; Sat, 14 Jan 2023 14:29:30 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGp0J-000128-JI; Sat, 14 Jan 2023 17:27:59 -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 1pGp0H-00011C-DU for qemu-devel@nongnu.org; Sat, 14 Jan 2023 17:27:57 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGp0F-0003ha-MM for qemu-devel@nongnu.org; Sat, 14 Jan 2023 17:27:57 -0500 Received: by mail-ej1-x634.google.com with SMTP id qx13so1658665ejb.13 for ; Sat, 14 Jan 2023 14:27:55 -0800 (PST) Received: from Provence.localdomain (dynamic-077-013-123-004.77.13.pool.telefonica.de. [77.13.123.4]) by smtp.gmail.com with ESMTPSA id og5-20020a1709071dc500b0084d420503a3sm8324840ejc.178.2023.01.14.14.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Jan 2023 14:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=Owcx4mH1ywv43G3/wzVsA1viFGMbTgXcrT4ggMYA3GA=; b=apxSPGU0/0rberXJUa6MokKVr/t+/Coa1/3ipdRkK4xXSogUH03VuZ+uMbqX0XSMqG puzcsDZx1bSPZGVDKvzBlMhR3A1LY510HGcwyKiJlIHKBFtFUYM7xQQBuBUQZGM887r0 EzJ0YqUEUuGFJ/u9bWpKcoyKcAT+YZExPDQXHFufqH+sn687d6DwjE6+oqg0sN8d5CBk A7zso8F+A9l2QePrE3u6RBBwXtOAk/BKKZTkxrApr5tYC4oA1v5gBeFi9DoSrFIbl+kh 4fGRlMphAddsX8F3V7wBYY1E4pUtNvMvPRwnFQ5eyBpyGravksbJ8d7ynr9lTHXIqTvE ki7Q== 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=Owcx4mH1ywv43G3/wzVsA1viFGMbTgXcrT4ggMYA3GA=; b=eRbSnqP6YaCQrrdYu06ILcfZmNRSy42JFRK+DkVpQqImyjpjFAG+PBjlxRzn2eKoOK h6wPwTyMFmQHaux8pezPhyTkGK/ndyQlvdEEvXwxvDiwbsFmdPhF7gcJ4PjiMteXkwq+ 7xBnkrCy9lp5g+fAEWzuUZ0eT7Bi/Hjv8RClggG+2Qtx3fiJQPlBdDzS7/w6qXhYZQaB h7Maugrn5AKEyeHzGYcOnYWGmrDgE2iKkgRqu0yTkJc0Xtf+1Th2qJpPSRaSNfvSdZwt vl1oYKZFBREweuAHIL6Qkudzqi/D/UZd92ebSH+AP1tWKh7r2xgh92gxOPg4vvXrHXTA mzYw== X-Gm-Message-State: AFqh2kpnQ7Rjq9YTet50rYo9CpB5lkwQDFsdfeCvabCLY+RfrRbGYzxK 16MRbiPNxFkQosWLsETUyUklp6yJKnQ= X-Google-Smtp-Source: AMrXdXsvBbIH9MjUOJnmtwhnJ0meFzIU0Z2lfTC2J+KiH/zhfkDTowhQS7++d+Sd79Cb7eL992A+9w== X-Received: by 2002:a17:907:175c:b0:84d:45db:b203 with SMTP id lf28-20020a170907175c00b0084d45dbb203mr19453747ejc.12.1673735274186; Sat, 14 Jan 2023 14:27:54 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: Richard Henderson , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Marcel Apfelbaum , "Michael S. Tsirkin" , Ani Sinha , Markus Armbruster , Aurelien Jarno , Igor Mammedov , Paolo Bonzini , Bernhard Beschow Subject: [PATCH 1/7] hw/acpi: Add missing includes Date: Sat, 14 Jan 2023 23:27:32 +0100 Message-Id: <20230114222738.282478-2-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230114222738.282478-1-shentey@gmail.com> References: <20230114222738.282478-1-shentey@gmail.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=2a00:1450:4864:20::634; envelope-from=shentey@gmail.com; helo=mail-ej1-x634.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 @gmail.com) X-ZM-MESSAGEID: 1673735371026100001 Content-Type: text/plain; charset="utf-8" When removing the "hw/boards.h" include from hw/acpi/acpi_dev_interface.h, these include directives must be added to make the code compile again. Signed-off-by: Bernhard Beschow --- hw/acpi/hmat.h | 3 ++- hw/acpi/cpu.c | 2 ++ hw/acpi/hmat.c | 1 + hw/acpi/memory_hotplug.c | 1 + monitor/qmp-cmds.c | 1 + 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/acpi/hmat.h b/hw/acpi/hmat.h index b57f0e7e80..fd989cb661 100644 --- a/hw/acpi/hmat.h +++ b/hw/acpi/hmat.h @@ -27,7 +27,8 @@ #ifndef HMAT_H #define HMAT_H =20 -#include "hw/acpi/aml-build.h" +#include "hw/acpi/bios-linker-loader.h" +#include "sysemu/numa.h" =20 /* * ACPI 6.3: 5.2.27.3 Memory Proximity Domain Attributes Structure, diff --git a/hw/acpi/cpu.c b/hw/acpi/cpu.c index 4e580959a2..9148b3a49e 100644 --- a/hw/acpi/cpu.c +++ b/hw/acpi/cpu.c @@ -1,6 +1,8 @@ #include "qemu/osdep.h" #include "migration/vmstate.h" #include "hw/acpi/cpu.h" +#include "hw/core/cpu.h" +#include "hw/boards.h" #include "qapi/error.h" #include "qapi/qapi-events-acpi.h" #include "trace.h" diff --git a/hw/acpi/hmat.c b/hw/acpi/hmat.c index 3a6d51282a..f5abec5715 100644 --- a/hw/acpi/hmat.c +++ b/hw/acpi/hmat.c @@ -28,6 +28,7 @@ #include "qemu/units.h" #include "sysemu/numa.h" #include "hw/acpi/hmat.h" +#include "hw/acpi/aml-build.h" =20 /* * ACPI 6.3: diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c index d926f4f77d..0b883df813 100644 --- a/hw/acpi/memory_hotplug.c +++ b/hw/acpi/memory_hotplug.c @@ -1,6 +1,7 @@ #include "qemu/osdep.h" #include "hw/acpi/memory_hotplug.h" #include "hw/mem/pc-dimm.h" +#include "hw/boards.h" #include "hw/qdev-core.h" #include "migration/vmstate.h" #include "trace.h" diff --git a/monitor/qmp-cmds.c b/monitor/qmp-cmds.c index 2932b3f3a5..45b0f2905d 100644 --- a/monitor/qmp-cmds.c +++ b/monitor/qmp-cmds.c @@ -44,6 +44,7 @@ #include "hw/acpi/acpi_dev_interface.h" #include "hw/intc/intc.h" #include "hw/rdma/rdma.h" +#include "hw/boards.h" #include "monitor/stats.h" =20 NameInfo *qmp_query_name(Error **errp) --=20 2.39.0