Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 45D31CCD1BF for ; Fri, 24 Oct 2025 19:27:44 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vCNRp-00060c-08; Fri, 24 Oct 2025 15:27:37 -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 1vCNRn-00060Q-Ox for qemu-riscv@nongnu.org; Fri, 24 Oct 2025 15:27:35 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vCNRm-0000kM-3s for qemu-riscv@nongnu.org; Fri, 24 Oct 2025 15:27:35 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-475dbb524e4so621295e9.2 for ; Fri, 24 Oct 2025 12:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761334052; x=1761938852; 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=BRr6s/NgJvS1YxYxcoI/3ZRoDWUxn4NQSax9XkT8Jh0=; b=yr68Feu6nxvOjRVtK+m88hS3PWu+sbnJXzK6hQrmOGYsmkh38g3HPQhOH0uGF1zWxV cP1oNmChZzhrcZL2/rcir48SGaG2iSYUC8dv7RaI+FYeE74zPBDe+s1jQnN7ub3KU1VR 2vb9a29r56xb5xx3/y2Bykxfnb/Eg+oK6mB/uEKbzpB9XYTIh9cUrrE6m2rsYu3RV9RO szzcg3ghtUQJ5XkGG5hU9LArtXXqAn4azNMarsOrRV+WNK1lQBxeaPYttGnWRq/GRMUK HtaSdQN3ncq332Div7iIq2t0vVg9B24GiZIygYgObVC4EnU9AuPnTEH0is8iaqoKSWkc OjUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761334052; x=1761938852; 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=BRr6s/NgJvS1YxYxcoI/3ZRoDWUxn4NQSax9XkT8Jh0=; b=LA472I24yc2IdmhbpIfuz142CfDz50zemAmf0p+AmSgEUgfaMSvnPu/L5nQEV2qTcG +ueriO3qxo9pVGepTvCJuUd2ucWSvGxCaeM+0+LSVGaJEkIpZ/ETwoHPr3H8D95xoIYR WY/jfDu1MxhOFP3rvE6hn1oXHoSyy0tfqcL8atlS238uNsxwQhESqKapO0zBW31Zij/p 5VO7Q6xol2BkJj93d88f5klS/wlXzCC02SAqfYFd+JSinRTOYinEMZ2edrFvs5VZlnYN EcpvPOZDQ233UP7RrrVO41nPM8+ejxrDGiBcqiXLP6S+/73+9fGYfbGtUrfn0Fc2mx+j iKEg== X-Forwarded-Encrypted: i=1; AJvYcCVHS82kI6WEWU8tHhoGamvjwaBqtkOABalnlqRyD3OSe6CqCDz1ve964IHm7NsB6sbRFpxTPiyzhMaA@nongnu.org X-Gm-Message-State: AOJu0YxF7+IUa2VX2bKcgWThgXXmidsBU6eTsZWQ5h3jwq32snosixsO UjcE8GagDdzQV3Pjorsq7TX8tCveYwPbOxLeqRhdoRTf9cVopSu4knLSSSAqRqj9U/1nIRJ3WXs ogEksym4= X-Gm-Gg: ASbGncsU/STKSSg5+pAQbRnOR+aocH73fg2FP0m9nDpHvjQXvFUxI2zKMkBFRP/uRvp N8uniw1/y1Kr+A+gll/TUgydoDHdExxOz+7i5NTHvOwZHsFkBxY3wZ5QYMyq4dlVzntxuZGC8cG n/0CJyACcjX5lgjXlGmJlBonfStLt0jhqDyF2TQ2wdNlHXk9CSWJMjUg7JQU4zx45hGVJoaEJzX I1lJL0jU0hPUqY6gpwHiWFd/5AjjUCW1Ziox6bMc2RxHEsmD0E2GKqcgs6z1tr+PEvz/gm2Y3pG XOFqOQuShEAHI5tF2PPAmvOd635E2BD3ItlWA7IuVYXZz2m8oxpSghADJ2Wfp+QJWyiBp/7rpNh 4mjOwO2oAYO6LVkM4ZcUj2WezKvdG0+c9enwcgvifzTMn7D02D2m9u/A/cE8FqbxM0rQje/DDlD nLmrvM63HBMJWEjpraMKNPYH9OCkSz0DFgaj2XcKW4403Br63+aw== X-Google-Smtp-Source: AGHT+IEJH9HIK6kSBuDnnvRqluhCJafija2xTj0gjgv2ujNy5AGIoNYwoO1veDzcJF6EF7ylgaCN8w== X-Received: by 2002:a05:600d:4392:b0:475:d8f3:71c1 with SMTP id 5b1f17b1804b1-475d8f37463mr11574525e9.27.1761334052556; Fri, 24 Oct 2025 12:27:32 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-475c43900e1sm195951725e9.17.2025.10.24.12.27.31 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 24 Oct 2025 12:27:31 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Michael S. Tsirkin" , Marcel Apfelbaum Subject: [PATCH 15/27] hw/pci/pcihost: Include missing 'system/memory.h' header Date: Fri, 24 Oct 2025 21:04:02 +0200 Message-ID: <20251024190416.8803-16-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251024190416.8803-1-philmd@linaro.org> References: <20251024190416.8803-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@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-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org "system/memory.h" header is indirectly pulled by "hw/sysbus.h". Include it explicitly to avoid when refactoring the latter: include/hw/pci/pci_host.h:42:18: error: field has incomplete type 'MemoryRegion' (aka 'struct MemoryRegion') 42 | MemoryRegion conf_mem; | ^ Signed-off-by: Philippe Mathieu-Daudé --- include/hw/pci/pci_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hw/pci/pci_host.h b/include/hw/pci/pci_host.h index 954dd446fa4..d06d64f6cad 100644 --- a/include/hw/pci/pci_host.h +++ b/include/hw/pci/pci_host.h @@ -29,6 +29,7 @@ #define PCI_HOST_H #include "hw/sysbus.h" +#include "system/memory.h" #include "qom/object.h" #define PCI_HOST_BYPASS_IOMMU "bypass-iommu" -- 2.51.0