From patchwork Wed Jun 28 15:53:02 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: 1801203 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=v6tNW2c1; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QrmYD34bMz20bS for ; Thu, 29 Jun 2023 02:01:52 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEXVs-0002Pu-Au; Wed, 28 Jun 2023 11:55:29 -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 1qEXVe-00027d-Pk for qemu-devel@nongnu.org; Wed, 28 Jun 2023 11:55:14 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEXVd-0001T7-02 for qemu-devel@nongnu.org; Wed, 28 Jun 2023 11:55:10 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3fba5a8af2cso379575e9.3 for ; Wed, 28 Jun 2023 08:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687967707; x=1690559707; 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=v9ckCZXgNGhuTxOJv5GYa6oPwaWkms/CNLiXxlbZv/w=; b=v6tNW2c1WIDkixH0MPPE/S8OqbR1GpC0qZHflhyH4UBr5PEPPgMWkwYBr0tBesFOyn t1q9iOuct9fCUY5FTeCiAd7hAZqYHo8JPU1wYtESyakfTa2aUlO2BTABAm32Q6yKOWhS XxPqtXLMrqFpWm3elS/uVszz2fOpuXDz/a1Ja/sR0rkUk3k18pyK0E0HriTevzp5bXuO JSZ1NSeL6Ilekvfp3fRFvMVWuQrOC1gQqsbvg8xyEWd2xY0y6xY5b3AhrYY7Lsz3U6EO +GlVKj9ikOBgI5JyQqH/dWK37n9RMkGXQTsuQ6fkwTx/ZIe/E/iYkutNs7uEioI/ROf5 SAlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687967707; x=1690559707; 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=v9ckCZXgNGhuTxOJv5GYa6oPwaWkms/CNLiXxlbZv/w=; b=gWCZ7tkm4wyfDW7a6UzxdYCsCvCGXCM/LGebJXRXQ9BCO7zP+KuXJg2YpN2Icu250y Ed1yexsvCGRZJq6HBnZDSpnc7R0zyuUMIOJswcHPUa5qNFinMlxh2t6SXY4XIwoSCc0Y 0xa3+PGGJo7nbIb4+BJIVgavrbkUixTP7jWpFoh3cBherKdrJPYz758ScpbtoEtM87b3 y0RaGgNoFTHJjA059T+0CaaY42I49a6TsaYEygRZZQjYeNRe/UiPSxZqwfeXmgwZ2tzv 63kjNvpnknnd6bTxEbU7ig1ZgKGw9crqxGwHVVlL02QKJcTkJ4hylej/QzxRKI3aaU2w 3vWQ== X-Gm-Message-State: AC+VfDx3H6t+BfRxWbUSkfh9L+WrmcIJr2raK7NxspHeJUKxMo4yfkfZ hql2eG9cu+PvqC43ZT6F3/Z0mqVW1djQtYsz0JU= X-Google-Smtp-Source: ACHHUZ7IMh8R3+rRcjLrTFpHAPfRc1rMifezdqjF1yWsz1ip4kmJhkeEF9DF3UXSkRinKeBVcjyCbw== X-Received: by 2002:a7b:cc0c:0:b0:3f8:fb7c:6793 with SMTP id f12-20020a7bcc0c000000b003f8fb7c6793mr23256693wmh.24.1687967707458; Wed, 28 Jun 2023 08:55:07 -0700 (PDT) Received: from m1x-phil.lan ([176.187.207.229]) by smtp.gmail.com with ESMTPSA id l6-20020a7bc446000000b003fba137857esm5611916wmi.14.2023.06.28.08.55.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 28 Jun 2023 08:55:07 -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?= , Richard Henderson Subject: [PULL 19/30] accel/kvm: Re-include "exec/memattrs.h" header Date: Wed, 28 Jun 2023 17:53:02 +0200 Message-Id: <20230628155313.71594-20-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::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Commit 1e05888ab5 ("sysemu/kvm: Remove unused headers") was a bit overzealous while cleaning "sysemu/kvm.h" headers: kvm_arch_post_run() returns a MemTxAttrs type, so depends on "exec/memattrs.h" for its definition. Fixes: 1e05888ab5 ("sysemu/kvm: Remove unused headers") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20230619074153.44268-5-philmd@linaro.org> --- include/sysemu/kvm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 7902acdfd9..115f0cca79 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -16,6 +16,7 @@ #ifndef QEMU_KVM_H #define QEMU_KVM_H +#include "exec/memattrs.h" #include "qemu/accel.h" #include "qom/object.h"