From nobody Fri Apr 4 05:38:59 2025 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=1741475423; cv=none; d=zohomail.com; s=zohoarc; b=FYVivyfLxCXQ+NI0w2hj+zILf/g/SBRGAvFf7SNuqOshkWoHqCQJ3wC9vM/y0RQ6fVD8UjRt4EiGi0OpaVm87fjdWZDQVOWBqaj+IlKLhmktWeSuKVun2F2g2k9ocuHWDowhxJhYlvQjEozs2idHBDbzgWWfBz9YLutoYvs5VfA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1741475423; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Qxj25K64APubIeBFvAOvHKODmgZUFRmHVHXhc1AU81U=; b=e+PvsYocudGIXGQLSF0ZCX8KdxTfbNZcmbJcmkKCk4s/1HJYSlck+HewClmxWJgunq+cvU6o0maACLeZafvo0mh/9IFFQy1emz0Kmk9GMAQPIfj17NyW+0awfYWla3ag6C3N2hrWc7px15XUyRUMZTm+O+PuJHqoYMeHNLmbu+w= 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 174147542324143.804619542654905; Sat, 8 Mar 2025 15:10:23 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tr3Ir-0004XR-OI; Sat, 08 Mar 2025 18:09:57 -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 1tr3IQ-0004JB-2z for qemu-devel@nongnu.org; Sat, 08 Mar 2025 18:09:31 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tr3IO-00016u-Ef for qemu-devel@nongnu.org; Sat, 08 Mar 2025 18:09:29 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-43bc48ff815so17689545e9.0 for ; Sat, 08 Mar 2025 15:09:27 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43bdd8c324csm96428385e9.12.2025.03.08.15.09.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 08 Mar 2025 15:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741475366; x=1742080166; 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=Qxj25K64APubIeBFvAOvHKODmgZUFRmHVHXhc1AU81U=; b=mFm+hlkV7kVoVtihPK7yyQCerPZMyTjZi84w+PAMYPtWjnlYr/SqszWnv2yA2oPUn7 UOgOqvSe7XB/DT9JFTjzyNFGfOJ4iv2rLTZFvg16PRN48zBbzMq5uugNbAd/xlJJ6wf3 ulDm8A7Delme43J5JqeIBlmgSk979OHk5hCPjsrBxX8tFlKX2XayygZAidMLG7fa+Zcf huws9LPjdxAYNsu5/tSQ+EK1IX5ZIdCBT5T29aOSoPJHQS8TL52HwQtdG9P1fcIrnGB8 DkWKmS3QHcyZe87bhbbF9K4zzpXX/hEjfeOUE35vzegnyQAAcuz/01sgkpdkeU42Go7q yVTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741475366; x=1742080166; 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=Qxj25K64APubIeBFvAOvHKODmgZUFRmHVHXhc1AU81U=; b=tKPG1VPgiK8bwJZNsPrwPilhRJEuJ9TwgNrhW6kuj8qt9pmI9wrlhmK92rn/JTtpWD tUazZtocvqCIrU8Rs8pCjgu4JdAeNiJ1aqXfeTpY5bUUltnsfe2GskVlhsydb6pw+T3f u8XnBEO/oWK6af+mjV0Jv7ev3LakM3GpacbOfaDau6QXlwV2+3+X18w+olBEs3y67NWP ag4gVMXEXkLWyfqCP5sT2OO/GB0j91LSMQNeuVdjEoTbJtGRyTQ2MyCAEIwqPbhpthxp CApOPAWC0ZsewLW8lbGdV0F0ddnLnU48AuSnjPPJQ32/lQszu6q8X/cuazaIkLe14XO8 dRhA== X-Gm-Message-State: AOJu0Yxz057tfVuEWxPJwn5Na0ksW+I/JnZeDV42knqWAdCkKHjkCfcU zRSGh8fkD3YZZhEJm8iBPbrPRSk36sE/IfkWkE/wkYOeHKToToYGzMOO6Jd2DFvwU6m4y8DwmJ4 dxHA= X-Gm-Gg: ASbGncu8o8us5RyA5++7r3BzIsLl/+WG+t704Kewayr/D6q3UhaSVd+ThKhajph8c6x k4P/wJ/MKUSbP6YnaimOW6anYiEMIXJA1m/biqRM+4tSNJ/4fEU217LRqXlmkyJZ04RrMqidvrf a4fQ8wWXDzrCodSMGMPQNNEDmtz6q5S0PtugNFzOk8z+Lcbt14YnukHia6O2TQ1yon4ZTKzGH0o Kx122kkdRNWpSw0KLz15jUUn07CcgUpbobYudC4keLOzxrFJ+eQIz7YrEONqoCu5qjhYmlnitA7 TyENkq5CBfjNlpFsYC/+3pv++EqAOibY3PzTAiXxOdteorAIDRtMhHn3e8QVvzVPbmohMAf6Sf8 Gec+ynlrEYplpYc8dMaE= X-Google-Smtp-Source: AGHT+IHJ0NS/FfGXlmf4jylNvapCrpoM4pkS8c5smWzHWxpj3jWgC5iW6aWgueYm5DZwov9rUe2K1w== X-Received: by 2002:a7b:ca53:0:b0:43b:dcc8:557c with SMTP id 5b1f17b1804b1-43ce4dd640fmr29552115e9.13.1741475366165; Sat, 08 Mar 2025 15:09:26 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Yi Liu , Pierrick Bouvier , Alex Williamson , Christian Borntraeger , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Tony Krowiak , Nicholas Piggin , Halil Pasic , Thomas Huth , David Hildenbrand , Igor Mammedov , Matthew Rosato , Tomita Moeko , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Eric Farman , Eduardo Habkost , Peter Xu , kvm@vger.kernel.org, Zhenzhong Duan , qemu-s390x@nongnu.org, Eric Auger , Paolo Bonzini , Harsh Prateek Bora , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Ilya Leoshkevich , Jason Herne , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 01/21] hw/vfio/common: Include missing 'system/tcg.h' header Date: Sun, 9 Mar 2025 00:08:57 +0100 Message-ID: <20250308230917.18907-2-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250308230917.18907-1-philmd@linaro.org> References: <20250308230917.18907-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::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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=unavailable 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: 1741475426708019100 Always include necessary headers explicitly, to avoid when refactoring unrelated ones: hw/vfio/common.c:1176:45: error: implicit declaration of function =E2=80= =98tcg_enabled=E2=80=99; 1176 | tcg_enabled() ? DIRTY= _CLIENTS_ALL : | ^~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: C=C3=A9dric Le Goater Reviewed-by: Eric Auger --- hw/vfio/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 7a4010ef4ee..b1596b6bf64 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -42,6 +42,7 @@ #include "migration/misc.h" #include "migration/blocker.h" #include "migration/qemu-file.h" +#include "system/tcg.h" #include "system/tpm.h" =20 VFIODeviceList vfio_device_list =3D --=20 2.47.1