From patchwork Mon Feb 26 09:05:59 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: 775836 Delivered-To: patch@linaro.org Received: by 2002:a5d:6103:0:b0:33d:da16:65b6 with SMTP id v3csp230685wrt; Mon, 26 Feb 2024 01:07:01 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUnXeGZGovVohy5zI8fjgLxLmfK2a3bmNe8/zuZndAkpSj9j0XHoYtdWOSABzaE05VQOYlhXaToQEHurDm4fvp9 X-Google-Smtp-Source: AGHT+IEZ+0KS4wVKV7vkGIiR/Ar7hy8gQ4oip/mOXRFCoE+6kvr7n8ZXoTKdmE+HpJU0xh4389tt X-Received: by 2002:a05:622a:40e:b0:42e:1315:7cee with SMTP id n14-20020a05622a040e00b0042e13157ceemr6827697qtx.65.1708938421306; Mon, 26 Feb 2024 01:07:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708938421; cv=none; d=google.com; s=arc-20160816; b=Ctt+FmRb0kYQKq+cXzZnxAoOh1fqqXNF+57pqPyHVnE8vlGTVvHNF0Uq3HVz03nJ1t bLBWYEYKGpECree2D0/fERiBeqIlzNVGGnUGCSSCw8cHEkAdr+IwMjI2aghuvt33uvVQ L946f8nbYpwUjqTRyQ2uqrN2hSx+a6eNfsvrCX9xJh2aaQh7LK8LXyIwVxoxEhZRXP3/ AY9af5BwRjAkOWHoUPAqaDNPU4syGG2LgC7i9/R7ZoU3yFhm5obCH4NePq3whrp0Em8c 9+OSaSGA82sCGTG8motiFpcjOvnuW55fVFLVyzZz8X2H+kgi8zVDvuW6D0z4i+PMBySH yjpA== 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=Fx8gADBe2ucDCcShPCUpi1E8G9A7PtB4VTqy5UmiqEI=; fh=TehPcX3sTwKTpAmymlvpSiGILhJMNR9XHiC/gdK04Uc=; b=e45oLNQw3lsfuki6ywF/czTuGoelFI/piXBt2kYyqi9T3aQRlRjR2pZ70V6hHv9qUg XphRCdWD8jdJ3DKhL4hNWt8GedAI97xda+KdFqfo4LcIilvsCynjNmAoUhBbyUmt6GW/ IN9hRSAWl9Yh97Adb0Rw3fG5Eq60jNtDKsQHu/FFczdU9ssq0uzB767i+522FFQH6Fs1 h1FmaID+tHSCQwaGZ+n2BqZV3RKurxBUWcoeeYmGtmN8HpuBXiu9xC5GvfpMmfWzC0fx vAA6M3D7Nn7D6KP9uUmG1M93Q1FYYhUIS06MpOpHkOAVMZ4yNnmaOTxUxTSJGNExh+0A NfpA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="I4/e4LbA"; 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 d19-20020ac847d3000000b0042e81f682f9si2115647qtr.453.2024.02.26.01.07.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Feb 2024 01:07:01 -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="I4/e4LbA"; 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 1reWwE-000781-Hx; Mon, 26 Feb 2024 04:06:18 -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 1reWwA-00077G-Em for qemu-devel@nongnu.org; Mon, 26 Feb 2024 04:06:14 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reWw8-0003Vh-9K for qemu-devel@nongnu.org; Mon, 26 Feb 2024 04:06:13 -0500 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a3f5808b0dfso379056266b.1 for ; Mon, 26 Feb 2024 01:06:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708938370; x=1709543170; 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=Fx8gADBe2ucDCcShPCUpi1E8G9A7PtB4VTqy5UmiqEI=; b=I4/e4LbAG79Xcfu2u6/gz/iU8cJhz1Nk9XHaj0RA/fpAlKgD/jDtruMU9vpRf6YE7s i7oPlZ5My8eNyE/t92rNy9N9hW8ySF7V9xHzEwMAJymiGNNjT5ocQOoa2rsc6XeNK0W7 y1kOKgyuKVCSaujepcuTDyUTISq22Av4AvyFbB0LfHWjXZ6f5UaRHARObP97Hmaw50X5 +oKNLiHNDg5N502dqvHRFBlD5zGr83/G7SoUBkXaFtV+UW5BMAtyufGRS9IBVQeXo329 sl1kv9ClD+oTlabUYQ9icfu5yJ+WGanTesCBpIHW6kg5RNrBpVrZug8dTOMfVVDlKzYS uKXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708938370; x=1709543170; 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=Fx8gADBe2ucDCcShPCUpi1E8G9A7PtB4VTqy5UmiqEI=; b=K1tlz/0FYad9ytUIAp20fYm9WUUVBgtDTDk5gtLg6Q0zW7Cwwjh0/HZVo8IvSqXSVp lpPxyQVp4GHnOviRWSEKGpYFSSnIGtXxjp+oQ7p5jt1xyybIDXzO09m/gQSEgtbFQSaS BwkcEZRdC7NXI0leImcIgo3q6o1qk34pDAMAiRmMUG9Hn704PejnEg02RVPWyl9CSUqr hJZvhgR6JYkXpEKhWgfv7ddaQkjUssZFhUTZs1MgW3jGIZzbkjmhPCAzc5mqjgtbEy1l y3waQ98HA1X18wBJnEaSo2wQiTDTEvqhajUv4g0xML4ktNA5EHq0S5Nn3Cm0G/hBhe1Z d7Cg== X-Gm-Message-State: AOJu0YwUcVUAJCakTuAdOWXIbjlYGgRHtsGCvldnXR6XVg4zt3nqFLfh SX9oj4np+cdwdgKNpKeKr2WbqlICxG7ttjBbrXv7t5GtJ3VC0BZ7Wmr/whqdpgMCTFzlDRfSCx/ 8 X-Received: by 2002:a17:906:a00b:b0:a43:3879:35e0 with SMTP id p11-20020a170906a00b00b00a43387935e0mr1808930ejy.11.1708938370099; Mon, 26 Feb 2024 01:06:10 -0800 (PST) Received: from m1x-phil.lan ([176.176.164.69]) by smtp.gmail.com with ESMTPSA id tl18-20020a170907c31200b00a437d3e975esm159660ejc.210.2024.02.26.01.06.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 Feb 2024 01:06:09 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Zhao Liu Cc: Richard Henderson , Marcel Apfelbaum , Igor Mammedov , Paolo Bonzini , Ani Sinha , Eduardo Habkost , "Michael S. Tsirkin" , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH v2 1/2] hw/acpi/ich9: Include missing headers Date: Mon, 26 Feb 2024 10:05:59 +0100 Message-ID: <20240226090600.31952-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240226090600.31952-1-philmd@linaro.org> References: <20240226090600.31952-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=philmd@linaro.org; helo=mail-ej1-x62a.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, T_SCC_BODY_TEXT_LINE=-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 The ICH9LPCPMRegs structure has MemoryRegion and Notifier fields, so requires the "qemu/notify.h" and "exec/memory.h" headers. However nothing from "hw/acpi/acpi_dev_interface.h" is required, so reduce its inclusion to hw/acpi/ich9.c source file where it is used. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu --- include/hw/acpi/ich9.h | 3 ++- hw/acpi/ich9.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/hw/acpi/ich9.h b/include/hw/acpi/ich9.h index 2faf7f0cae..215de3c91f 100644 --- a/include/hw/acpi/ich9.h +++ b/include/hw/acpi/ich9.h @@ -21,12 +21,13 @@ #ifndef HW_ACPI_ICH9_H #define HW_ACPI_ICH9_H +#include "qemu/notify.h" +#include "exec/memory.h" #include "hw/acpi/acpi.h" #include "hw/acpi/cpu_hotplug.h" #include "hw/acpi/cpu.h" #include "hw/acpi/pcihp.h" #include "hw/acpi/memory_hotplug.h" -#include "hw/acpi/acpi_dev_interface.h" #include "hw/acpi/ich9_tco.h" #define ACPI_PCIHP_ADDR_ICH9 0x0cc0 diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 573d032e8e..6205de6046 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -34,8 +34,8 @@ #include "sysemu/reset.h" #include "sysemu/runstate.h" #include "hw/acpi/acpi.h" +#include "hw/acpi/acpi_dev_interface.h" #include "hw/acpi/ich9_tco.h" - #include "hw/southbridge/ich9.h" #include "hw/mem/pc-dimm.h" #include "hw/mem/nvdimm.h" From patchwork Mon Feb 26 09:06:00 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: 775835 Delivered-To: patch@linaro.org Received: by 2002:a5d:6103:0:b0:33d:da16:65b6 with SMTP id v3csp230673wrt; Mon, 26 Feb 2024 01:06:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWEWWI+FVzjjXzNSF0TTpee2CiPbdGEp+swjksyDZLEeL9XhH9n71JabLse1SZr/CSX1mrKcm+7laxLJPOstUYa X-Google-Smtp-Source: AGHT+IGCVdepW0KYkNnt8nBWqQLWczIFpWnZt6zCut+Y/Y8TAN4gjX+gAvCSvcUnDY4mpeFQQA9u X-Received: by 2002:a05:6808:4445:b0:3c1:9929:8049 with SMTP id ep5-20020a056808444500b003c199298049mr6198702oib.34.1708938418254; Mon, 26 Feb 2024 01:06:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708938418; cv=none; d=google.com; s=arc-20160816; b=odme2cnEAUoLZTZxGlXw8rWIpksy1kEbqQCLYQ+s868wEBJk8CZJ/MhH6MDdByd8YA 4shWyIRC/4gzmMlLsnASoE8xmNK5JIoRFSAzBQ+86SR8gE+kzpy1ZH1vcGUDusDjqDB8 aRcsNom+JBv1fCpfSikRmhxRKbv6jOu1dQJ5gpuP3SLyCwIr1r4q2lsc0sDYA2tK33iC EiaWfirZMYz46Pw3E851gfPBmaPJJtJ80QvMSPBeJm6iMX2xREs5IRImD/F/Gbm6Bfl8 mEqtiaGTX4eGkFbFuiZ+3e3N6T5xCQKiRK4/g1LmlKyzFE4MQfcrO3N0F9o36plBXmVi W7dg== 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=7oVTgSJUCJ05vrSeKkBPqU1gIvTy5EgxgQEBwc+GsnM=; fh=TehPcX3sTwKTpAmymlvpSiGILhJMNR9XHiC/gdK04Uc=; b=sPmek7cDbsbfj9ZAJuxRwPVDOd02iUh7dsk9FH/FnI07RctWcCqXFuek5NM7PFUQlb ETN5x/AWCBF89jFYvcS5FP0Opaca5PFgUi4LgdcxDsG6g/5/fUS5XO+ZbLe9LQTDBRnX d5n38vGPTeVYCoazYTrHcTaYRwRSojP6AlUC3IhNNygkgqH0hXaxZb53xLJ8GNh+sy+q nl3wyd0BGYLT+LiD68LhU/V7K83xY9vtIQGRReGDHlmSi0oFDCEraNesamRSosKBdk+G 6jVJ8Be2Df4Xhm3rkKtzoJG2U7MWfuztPGZ4+/o3UePyyGm2d8jw0MMa1rMPyphWMhe6 D5nw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BNwhKoFn; 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 fn10-20020ad45d6a000000b0068f9e559727si4650202qvb.602.2024.02.26.01.06.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Feb 2024 01:06:58 -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=BNwhKoFn; 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 1reWwJ-0007Ai-2B; Mon, 26 Feb 2024 04:06:23 -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 1reWwH-0007AG-Bm for qemu-devel@nongnu.org; Mon, 26 Feb 2024 04:06:21 -0500 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reWwF-0003Xj-8Y for qemu-devel@nongnu.org; Mon, 26 Feb 2024 04:06:20 -0500 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a3f4464c48dso307148866b.3 for ; Mon, 26 Feb 2024 01:06:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708938376; x=1709543176; 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=7oVTgSJUCJ05vrSeKkBPqU1gIvTy5EgxgQEBwc+GsnM=; b=BNwhKoFnTEdW+A4DVb5HmHw5P7SVuU3u3anlujgv69wEqvueoRKAbn4eywnVLXs9z/ W7rwnsE8K6SDY5BHr+i5MjK6UWbc1BbKbl/1Vp9pAtQPauiCa0Jrge2vsHEtGkP6LJtN u7qZPgkAtF28rlIHFExxM9jbOkxaJzRmYJUpHYSiTgxVqQS0HGqLbP8JkajKPt6JHsYG 6vhJtgFqdh5ZpHLa7LUOLSb5UeVhphZFH7MC6p8p/xOYB51LxZmJuU9528s215nIzaGf XFsB32aIY0KS9noYgHPP1aHrHe8b9uhmThRVPeOfwO/o8fvvnMtQe3s75gKVPZqojA6b +gfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708938376; x=1709543176; 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=7oVTgSJUCJ05vrSeKkBPqU1gIvTy5EgxgQEBwc+GsnM=; b=coA3JSPT/fUnY4cflTl/d66Jmm4QdjiAxO9e8D7e08kG95x3IC6bJlV07Jnu2w/DhA FuhFyR+ZCK7mcBJeeCRjUgw60ai1D1BTtMMObKV+G9dkL+w2QmWD1D1112gFP0xVDRp3 bqjqog0dLEV9ocLRSyvm7VVYfZKxVqWMmpZZ9WpzWaLGSKkIrOe0cs3wRTllgamQv6F1 S7kE5aVYf53jOWcuq3JI0gIa0kP/sz1DBczBJUafWq7JfZWVnC1/ytsTx/OcU2Cw4Hjw aGfcNutVUbL+RCN2jj2qRR4+xMLgjC0WOI0zABTxXA7yinZvtpjPadQTm5PGBOk8deIW gX7w== X-Gm-Message-State: AOJu0YzgNfUEFW00YvG8Gdk5SctnGlMyHa47bTrNWMvDf3wiv5cyr7Z8 YOIVOtlcRBx3860NSH3cY+bSH0Wdr2MdZET8GQ3v+0+R9kMh9o4EpDLd8N1Dw2zi9zqpDcW1xn5 w X-Received: by 2002:a17:906:13db:b0:a42:f40e:3ac0 with SMTP id g27-20020a17090613db00b00a42f40e3ac0mr3740303ejc.6.1708938376553; Mon, 26 Feb 2024 01:06:16 -0800 (PST) Received: from m1x-phil.lan ([176.176.164.69]) by smtp.gmail.com with ESMTPSA id d25-20020a170906305900b00a3eb1b1896bsm2196669ejd.58.2024.02.26.01.06.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 Feb 2024 01:06:16 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Zhao Liu Cc: Richard Henderson , Marcel Apfelbaum , Igor Mammedov , Paolo Bonzini , Ani Sinha , Eduardo Habkost , "Michael S. Tsirkin" , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH v2 2/2] hw/i386/q35: Include missing 'hw/acpi/acpi.h' header Date: Mon, 26 Feb 2024 10:06:00 +0100 Message-ID: <20240226090600.31952-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240226090600.31952-1-philmd@linaro.org> References: <20240226090600.31952-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=philmd@linaro.org; helo=mail-ej1-x62d.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, T_SCC_BODY_TEXT_LINE=-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 "hw/acpi/acpi.h" is implicitly included. Include it explicitly to avoid the following error when refactoring headers: hw/i386/pc_q35.c:209:43: error: use of undeclared identifier 'ACPI_PM_PROP_ACPI_PCIHP_BRIDGE' ACPI_PM_PROP_ACPI_PCIHP_BRIDGE, ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu --- hw/i386/pc_q35.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index e0b3f55a02..45a4102e75 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -30,6 +30,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" +#include "hw/acpi/acpi.h" #include "hw/char/parallel-isa.h" #include "hw/loader.h" #include "hw/i2c/smbus_eeprom.h"