From patchwork Wed Jun 28 15:53:06 2023 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: 697257 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp4424364wrm; Wed, 28 Jun 2023 09:00:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7seiBLSHP8klz7Ar39KskUWaJRoTSmCip9XO3pz/0KKjODst+SQZ2cpdr9NQKnyqPY7hrW X-Received: by 2002:a05:622a:510:b0:401:b067:8920 with SMTP id l16-20020a05622a051000b00401b0678920mr8504694qtx.48.1687968002474; Wed, 28 Jun 2023 09:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687968002; cv=none; d=google.com; s=arc-20160816; b=mHpZMpgUGR8XI7MOc9LFAPmRiEve6woN3TwgCsVsAq0MPD2SFLwRfT77mYqXe+6rXn kd5qAdxSFNDKONTTR0Nd8ZzcSrXkbjsSz+Z08fCC3nhWkbtXfkka/ODKvarMkFFwf+yn sq24pnmzqXcx1YLChrQ6x8z7D8Fae7gjsh6Am7I4nRhK8zUNi90tOD8Cq/hPTsQysCIm P3dEjAQFoq4CBtxbFGJQdcZ8eFJDpvSxAcNfqxv2rJ3ZkC96HxXDuO7Hg9kaeeXnvePu 8AexkdJe9etvpApAhc9qGKqj7UtFa4Y3uLxU5ZMfAHMXp4N6gmnTs5lmXoKHyVYVvyA7 8GEw== 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=Qz29A1ML+XjIA5GtszhnA3DMxy9UGUE/LdJiJcvkUvk=; fh=mfPGOrDrb6OOYMHOrJtbsFy1OzRdVk27eUBUGgmaJ58=; b=E++3Y1k1oWafu60F2IkEDiVzx6PHiIPW6Iq5LQJNawWhgMZFV8rhjOETkuuRPMYXtL /n4xzVGoFj1xUvy6OexY60abaxo0C7AZWb70xYIu+tgxuwA//0onBJci/sTjQLSzvP85 HtIWzuNe69WIcWnd63B+LEBnsMWxM9P1uDcEwUsjvzVVtnmD6iIv2fN23hqigRqZspWg 8GhJHaKfPO859MNCINPwTy55V6engl2yUERCDi12H0zhk2+8pC/EEYPZHe1p0uaUCmUI VrVQ2Rorp8sB5Hd+RFq+7N1OhA76RhG5mLmUEyjOJQBwxEN7LpOQbiNxUhIs0QFzc0Ke SDiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pccSA1Cj; 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 w15-20020a05622a190f00b003f52f9e96bdsi4764343qtc.139.2023.06.28.09.00.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Jun 2023 09:00:02 -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=@linaro.org header.s=google header.b=pccSA1Cj; 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 1qEXWz-0003KE-4Q; Wed, 28 Jun 2023 11:56:33 -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 1qEXW7-0002jj-0S for qemu-devel@nongnu.org; Wed, 28 Jun 2023 11:55:41 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEXW1-0001mw-Uc for qemu-devel@nongnu.org; Wed, 28 Jun 2023 11:55:35 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fbac8b01b3so10596425e9.1 for ; Wed, 28 Jun 2023 08:55:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687967732; x=1690559732; 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=Qz29A1ML+XjIA5GtszhnA3DMxy9UGUE/LdJiJcvkUvk=; b=pccSA1CjL+LQWMKoqD430Xejhvf3cHydHRWuHTGkP2TmWmkpY+4r+JD1VMKKVvzkp7 9zpVSRonrvKmcctiDb59HlfL07fAGonido50NY/CD6+MlQmyVVV5gK5zwbTaYPgxGwtO VZSXWPvMrM2r+iWHDdSDquYJJqbYwdkBs1g215cZJUozQxT2Lr3vOdTgimB/AG4eT2NT 73AmfVFWVlQt5J60V4memIFpqfSJFPgEP942ZcHUgXleMIOqsCPx4H7c+YwddZdr00r4 EB26pVc7d0zaxnrvEqki9cOypQ8y4F7bmUMgIDcjjAZxEtsEukkwOCeFCa8FUlTiFH7D sBFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687967732; x=1690559732; 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=Qz29A1ML+XjIA5GtszhnA3DMxy9UGUE/LdJiJcvkUvk=; b=cJevW1yih5KjjkGXjYRzJkvm9MUfg/8crGcpFg1hDPPDaeSmzW1hbN0mtE15CxRQjc 8wzpOUSVQX+krUXapt2YODGnvmDVgYAT8rrtHWhAaUhkUrU6JqpTD43p3hoxoz5jOFZr LAaivKssAEDCEr6EIj6kr1kLXB7qriTXEH95C2yDseZivwUMomARGzr+fFAD5qybNQx3 uQYegUeuO9xtf+LQBlVkpFlJRkB8EXhYAzvW8cS9ZATKZIsJ5CDt4eGdJnKShHu8BRvr FpTz3hs3BQnnd1fCA7qyVah8x10llIHIegU0dlV701PmzcJwNgelUv4Hy7sXGLZ5C55n hH4w== X-Gm-Message-State: AC+VfDySvR4+mvbSyjcNrmshs8V/pvALMjl6GnC+mdFR6bJQeaNsP3dc if+E8FEDIE8XAN95kvgWMuR04fJJeioe8PKBqG8= X-Received: by 2002:a05:600c:4196:b0:3fa:ef97:1fa5 with SMTP id p22-20020a05600c419600b003faef971fa5mr2108083wmh.6.1687967732236; Wed, 28 Jun 2023 08:55:32 -0700 (PDT) Received: from m1x-phil.lan ([176.187.207.229]) by smtp.gmail.com with ESMTPSA id d13-20020a5d4f8d000000b003063db8f45bsm13616182wru.23.2023.06.28.08.55.31 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 28 Jun 2023 08:55:31 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Leif Lindholm , Richard Henderson Subject: [PULL 23/30] hw/arm/sbsa-ref: Include missing 'sysemu/kvm.h' header Date: Wed, 28 Jun 2023 17:53:06 +0200 Message-Id: <20230628155313.71594-24-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230628155313.71594-1-philmd@linaro.org> References: <20230628155313.71594-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.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 "sysemu/kvm.h" is indirectly pulled in. Explicit its inclusion to avoid when refactoring include/: hw/arm/sbsa-ref.c:693:9: error: implicit declaration of function 'kvm_enabled' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (kvm_enabled()) { ^ Reviewed-by: Leif Lindholm Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20230405160454.97436-6-philmd@linaro.org> --- hw/arm/sbsa-ref.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 66500a5b08..82a28b2e0b 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -23,6 +23,7 @@ #include "qemu/error-report.h" #include "qemu/units.h" #include "sysemu/device_tree.h" +#include "sysemu/kvm.h" #include "sysemu/numa.h" #include "sysemu/runstate.h" #include "sysemu/sysemu.h"