From nobody Thu Nov 28 09:50:27 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=1693831478; cv=none; d=zohomail.com; s=zohoarc; b=ipjvT16W+8AQVWGs0DeVS7pOb+g5bOYPZQrDhdovJsmhWWXykGXe393zBsD0AcXA9EEa1MPs8ZEV7Um8YPCoOucyB68pTx7BIiBGO/Joc58E+Y1OYxW7AJfZ6FiPf5nRxnGlDgE5LfK48o5GNy9jnjPbqfDPLRBDf4Hgjjq3OVM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693831478; h=Content-Type: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=r6Qgqbn+d1/I+gSK8St7x7NRj+2INTDRnnggirvl8K4=; b=GoUbdjE/LnOhaNyZkSKr1a87TgRrAWDjrxgQZJ4361PMAqdERQBMxoiwsg4r8twgT45ABQjAL+JakD3je0+nJsPa59F8peWS1AkuYin00C+nlttM8wmssSvZ86J6Cjzem+r948Q+ndBv724NSA9zHDVxq5/7MjVjkmjBvd8IcJ0= 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 1693831478170787.6641072229868; Mon, 4 Sep 2023 05:44:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qd8vi-0001VM-0T; Mon, 04 Sep 2023 08:43:46 -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 1qd8vf-0001OA-Oy for qemu-devel@nongnu.org; Mon, 04 Sep 2023 08:43:43 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qd8vd-0004d0-F4 for qemu-devel@nongnu.org; Mon, 04 Sep 2023 08:43:43 -0400 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5009d4a4897so2355452e87.0 for ; Mon, 04 Sep 2023 05:43:41 -0700 (PDT) Received: from m1x-phil.lan ([176.187.209.227]) by smtp.gmail.com with ESMTPSA id lg16-20020a170906f89000b009a0955a7ad0sm6087296ejb.128.2023.09.04.05.43.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 04 Sep 2023 05:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693831419; x=1694436219; 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=r6Qgqbn+d1/I+gSK8St7x7NRj+2INTDRnnggirvl8K4=; b=rjLbOf8dipYWQBszPzvkRe9wBVCtjJcGqNeF1e0ziUpFlwPgQzhdgaRXTVRXx/344E Wl9L4sCrHZJOElaMy7nvXQSECAkCpnDOB1qCZazq5NLZ4SWzR1ki2js3l5CL6RuF779K W3VXoaug2UxuQsPEtGjiWrgx907U8GEAFYw3HvU5YyBW4nmfVEYOFDrrZvgDpCqg6+vY mzSol6+/RhNfxsVCMDX0qkqqd2Fkxs9P0RjSDlP1/a09yUrwkx8TwlE/62Q1FDbeRlCn PbFQ1mEhwBybpSKVqSPcL4y5wWArn2MO4r+5vL0qX498fEMHTeKHei/KI8lJxj9cP6Hm w8lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693831419; x=1694436219; 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=r6Qgqbn+d1/I+gSK8St7x7NRj+2INTDRnnggirvl8K4=; b=YevuE4XXR5NUUc5x+jn5UclUkMSuEgmnc7C+nrDNGWxq+dv11fWh3iRyHB3Z5UiI92 +0WEDMqGf2QYYlW9gtVK/ORn9b7KsqLo0Kn9sEb0DJvy57U54aJjiZOVBWVaBDwLhEhT b1kxeiZllHKOR2IOrO5Yr57NLSZdaJsjBXaEXtYA1w1yHrPKixR5i8cUETaP0yUbteMC 46eTrsdSZrPIl0O4hzVzr2KS675BzrRU1LHZjLz1W5MK/sRR6AtePqfLPz3bMagz2XNG Y6yGUzG9vrMZgDttPx7PaKVOcRYqYmms4VeSJgmdFS6pJm85sQpW3xOeXV2V4opDRlql m+Hg== X-Gm-Message-State: AOJu0YwxBXRhuu2FYkS9k+5cI8NVKAC0F9ChjrpC+Z/HwSMvzBoejLO/ HQIIybcV7gTSRwYJkp3wJSx/g73hh/alOwKhNQY= X-Google-Smtp-Source: AGHT+IHAvtxselt1b1hV5LdDZn5OMGkxc7bjsWnN+/jQkXccg9G0McaZkj4DLfPBkIFLocObukSlqg== X-Received: by 2002:a19:2d45:0:b0:4fd:f84f:83c1 with SMTP id t5-20020a192d45000000b004fdf84f83c1mr5836726lft.64.1693831419642; Mon, 04 Sep 2023 05:43:39 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , Marcelo Tosatti , "Michael S. Tsirkin" , kvm@vger.kernel.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Marcel Apfelbaum , Eduardo Habkost Subject: [PATCH 02/13] hw/i386/pc: Include missing 'cpu.h' header Date: Mon, 4 Sep 2023 14:43:13 +0200 Message-ID: <20230904124325.79040-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230904124325.79040-1-philmd@linaro.org> References: <20230904124325.79040-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::133; envelope-from=philmd@linaro.org; helo=mail-lf1-x133.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-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: 1693831480038100007 Both pc_piix.c and pc_q35.c files use CPU_VERSION_LEGACY which is defined in "target/i386/cpu.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- hw/i386/pc_piix.c | 1 + hw/i386/pc_q35.c | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index ce1ac95274..f0df12f6fa 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -69,6 +69,7 @@ #include "hw/mem/nvdimm.h" #include "hw/i386/acpi-build.h" #include "kvm/kvm-cpu.h" +#include "target/i386/cpu.h" =20 #define MAX_IDE_BUS 2 #define XEN_IOAPIC_NUM_PIRQS 128ULL diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 43413dd1ac..8ecc78c822 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -58,6 +58,7 @@ #include "hw/hyperv/vmbus-bridge.h" #include "hw/mem/nvdimm.h" #include "hw/i386/acpi-build.h" +#include "target/i386/cpu.h" =20 /* ICH9 AHCI has 6 ports */ #define MAX_SATA_PORTS 6 --=20 2.41.0