From patchwork Thu Sep 7 12:59:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 720616 Delivered-To: patch@linaro.org Received: by 2002:adf:eec5:0:b0:31d:da82:a3b4 with SMTP id a5csp228462wrp; Thu, 7 Sep 2023 06:15:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/4ZVxM5flJu4eSQbzR7mhAEw0XR28sQFiRLccsCwEkbg0La43mkHv8RlrP/qFREPD4E+j X-Received: by 2002:adf:e648:0:b0:315:9993:1caa with SMTP id b8-20020adfe648000000b0031599931caamr4746218wrn.12.1694092558781; Thu, 07 Sep 2023 06:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694092558; cv=none; d=google.com; s=arc-20160816; b=03/atPMMg/2LhmyAO1Uq/7YtX6+Btae1F5RLSQ1SBUOhOehV3qTyr/90TctkoSTNJv ytKa9RDI32pl4DjBnvt7U2u/q92lgsESL+odJP8okBhxCeD3XwVzACVae2Dzyvda42xq RfaKy/8Z0bzVFa8oTzUyYPfThM/67vVLJPllvbkKM2xPmzVB81rM+Ax03oRd/4zHfu4P 2uqK+LKuyNyWZgFPbe8xtXiC0p4HJOAabCZyWqSn/XKtyx9+BTNYIPd1NV1maA8SuEfR uqR8p1irfAA37A6vftNTG4DwKyUc28sFCIn47h7xsyr5U7n9adkLw9af9ScxaAmaiyrl ez5g== 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=CnS6kpClTYzSsSYS2ANTQx/6JTtxTxc5WwCUea/91dA=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=F0KuGNQOptEMghORqHs9nu2XRIIqmWDPh5VeaTuzdBb6wayf5EEtFnGi6yhuHuRnC1 AnfqpwK1fPvkvB+KYP8m+Xbpqpw+eEDJ1x234Xb0I5UmUceR4zhRm+IkPiKRj/yzQXWH 4imQsKOfHhnXBkLm1rxwXHKKHFkuUEIhTCHQuZQd3kP+5D4ijkY5Wm5vl+vgUU/yiROm EkPYt2+EooP76aHhPMAQTJV4L2abG7zwgV8EfciiqLHOSuVMEaVrng7SbwEmPCUQnqav hJcUdZDNqyd7m/kkVibSddxpmN7IPLPZ66AF4BmmozAvpkI8I0xL4zhANO4LrkKDhkdr Xb+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EHaO1mm8; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o8-20020a5d4748000000b0031dd4feaa5dsi6715984wrs.555.2023.09.07.06.15.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Sep 2023 06:15:58 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=EHaO1mm8; 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=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeEeQ-00057o-Sf; Thu, 07 Sep 2023 09:02:27 -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 1qeEdj-0003sW-Pp for qemu-devel@nongnu.org; Thu, 07 Sep 2023 09:01:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeEdh-0007SR-EK for qemu-devel@nongnu.org; Thu, 07 Sep 2023 09:01:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694091700; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CnS6kpClTYzSsSYS2ANTQx/6JTtxTxc5WwCUea/91dA=; b=EHaO1mm8JnPB/jNqccufYvV9hU3021Iv43aejodScqYR2hwJd4YBRDvpSjHk8PvH28jwYO Jtk9GIalYe1TpJ6MDJ0Qagup5CL8ONy8tfYLCgFtYe1hrx2NTehQyDhw1AlsOdcvzGy+n/ jrTBEqcCyNDT1Pg4o6AS+jOqmfPdvvw= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-589-fBhRkRu_ORWjz22ExgsuOg-1; Thu, 07 Sep 2023 09:01:38 -0400 X-MC-Unique: fBhRkRu_ORWjz22ExgsuOg-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-401c19fc097so6611805e9.1 for ; Thu, 07 Sep 2023 06:01:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694091697; x=1694696497; 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=CnS6kpClTYzSsSYS2ANTQx/6JTtxTxc5WwCUea/91dA=; b=SIeVFItEn/o8GORbYUvTqfCO5MjVuBO2iYT2tABD6Og0nDd4Xj6gWKNk/tjFurtj5Y 6X9flav/tV6mr88IZiH7ZcGCCpgHc/t5MGypGpTAjMluefif6dUT+0CSTKOiuyecW7RO 2Q6hEPfhKqtqLD9Ge2i2il0mSUqXksD/87SFnSzmlWyYay8Kz6beErkMsJtUXMWQb33f VD9BOCf0tW5aS/kg7cWVFXubxtI+jcKhsuxVC4IUFgXqeJAcZNJnyjJ1Jua4n08sp9V/ RA7pcqUhdnCfBgpiSYnI3BwXio5ANb6hJqeISjWtaK1JoY467C6CqI0rLuqXq211z3pQ aoeQ== X-Gm-Message-State: AOJu0Yy8JkEpfS0b1MXOjPD3vHHIJ7usaQd8nKaLTVHZXRRUtVVTc9Sk dXR1lDP9HG+tzhCvAdTxQ0jx+BJS92joG4p7aWSM0JbncT9XWIO8dA9Pbcel6zSrlD9vXLuY2CF OElM8paOnPWEdJYRBqVfDBJFmprQJXpmR18Y8tIpmN+YE+w87E/w8yZ4IK4QpBHqZGhM9z6dbf/ I= X-Received: by 2002:a7b:cd97:0:b0:401:c944:a4d6 with SMTP id y23-20020a7bcd97000000b00401c944a4d6mr4510546wmj.28.1694091697251; Thu, 07 Sep 2023 06:01:37 -0700 (PDT) X-Received: by 2002:a7b:cd97:0:b0:401:c944:a4d6 with SMTP id y23-20020a7bcd97000000b00401c944a4d6mr4510531wmj.28.1694091696931; Thu, 07 Sep 2023 06:01:36 -0700 (PDT) Received: from [192.168.1.174] ([151.48.237.81]) by smtp.gmail.com with ESMTPSA id o8-20020a1c7508000000b003fed7fa6c00sm2516617wmc.7.2023.09.07.06.01.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 06:01:36 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 39/51] hw/i386/fw_cfg: Include missing 'cpu.h' header Date: Thu, 7 Sep 2023 14:59:48 +0200 Message-ID: <20230907130004.500601-40-pbonzini@redhat.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230907130004.500601-1-pbonzini@redhat.com> References: <20230907130004.500601-1-pbonzini@redhat.com> MIME-Version: 1.0 Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé fw_cfg_build_feature_control() uses CPUID_EXT_VMX which is defined in "target/i386/cpu.h". Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20230904124325.79040-4-philmd@linaro.org> Signed-off-by: Paolo Bonzini --- hw/i386/fw_cfg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i386/fw_cfg.c b/hw/i386/fw_cfg.c index 72a42f3c66d..7362daa45a6 100644 --- a/hw/i386/fw_cfg.c +++ b/hw/i386/fw_cfg.c @@ -24,6 +24,7 @@ #include "kvm/kvm_i386.h" #include "qapi/error.h" #include CONFIG_DEVICES +#include "target/i386/cpu.h" struct hpet_fw_config hpet_cfg = {.count = UINT8_MAX};