From patchwork Mon May 5 01:52:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 887429 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp1825017wrq; Sun, 4 May 2025 18:57:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXFV5IpxvqV3M9CvzQK/RJHyB/0zBvRmcU3ZOmuHzYqHcaMvkHPC2Pc3mxVrEpLqAWQjVpZpw==@linaro.org X-Google-Smtp-Source: AGHT+IFunBPVuGUqYdXZfg0nGovNzlgrbI3INFc/+J9Rjino3/MjyyYDLrV7R698q8fdYvQpvcy3 X-Received: by 2002:ad4:5ae3:0:b0:6e4:4331:aae0 with SMTP id 6a1803df08f44-6f523723124mr104812556d6.1.1746410265366; Sun, 04 May 2025 18:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746410265; cv=none; d=google.com; s=arc-20240605; b=lMJpWN8ezrNFImueVNtK2MScNtKNRytPcGD9Zi0tQnhhUqYOfVX9Dim02bH0r6X1Ut mrpHc4VtGNgiA0DTQ2R7A/kVd+e4tRglkUanM4o/y3QwxCu34Z6/2BGjp/qVkdEWTt0d +0iFR6JMPrSjg1YPVHnTT6lK8VtIYDpFveMlJggOffcXeat6G3CEYWpOC5NvuIECvJDn veZvWgEhopXZRGI2A0cfdkvZUPx5X6uUO9tgsTciol2q9zRkAm1uhIDVj/mapfjPHgge OkStOZ/tXCdALNhCNKvEK0E8pEs9N2Zu1OPIoQQEKOq3mdLCGMeqUB7bfQdZQQ1fOKm+ k8aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=oONThx//EO5WSiuREF023HuwIIuJ5yNwT7cwhGAiXZE=; fh=NjGqp/B1Bwp2wtTnyHxTvlXYBfwRSGY9cE7hmKIZquY=; b=SRXxTlyUD/rtdo0W5+yzSUpsSgAF0I3KnvQSjMpjf+DiWkueiHd2gR9eDrOsh4cxAr DFvAi0o0N5BPzMxNCxpZv5tELZNklMWQg98gyhyx02vjGf0p0Y/22H7qFK1GJjyjrp7y IXCMhFQOu/vwrjlYXhZ+7orLrsT4GVHdDOotap9PC3KRr7K4pmtOGr9bJKOFPVG2o12J D53RfiWX2kHOiV7BiOq1rkAxsAXWHvt65BKM5ILlo0wDpXANUc4VOPovLDplawJrlRod Sara1gJ8QHHV1wD2men+YKDwppcj5KsKveyAoV4xLCqUL3x93WwiIkFeC7rrDmmT7tQs sJmg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zuhunsr6; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6f50f3bd9edsi87822826d6.114.2025.05.04.18.57.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 May 2025 18:57:45 -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=zuhunsr6; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uBl1N-0005EG-V0; Sun, 04 May 2025 21:53: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 1uBl11-000471-IW for qemu-devel@nongnu.org; Sun, 04 May 2025 21:53:08 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uBl0y-0002fP-Qm for qemu-devel@nongnu.org; Sun, 04 May 2025 21:53:07 -0400 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-afc857702d1so3830384a12.3 for ; Sun, 04 May 2025 18:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746409982; x=1747014782; 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=oONThx//EO5WSiuREF023HuwIIuJ5yNwT7cwhGAiXZE=; b=zuhunsr6M/6SqdJKsEQXsoXFiZ7pW7P4hxZ4cul78YEpyxLbDPUgQyUo++2HC7CU95 938GQr7xbF7+baPmGnTbWHtGCmZdy9jDBISoU14sdzvzVlCLI85xaAwezzLWG3ZHTEuT 4TAGeT1gWhhggUp4X4T+7dq2xkB9smYmD1HC28w5rNVaKs1aVPUxJUv6C/lB+pDv52bR 92YIK55bPcMh/oj7XI34YqH9QF3o9fDcKvb4ny3f+6HMa0oFBPMb5gcv45CsRLurzf2K +aQkwFSLrGfkE/ZtyZLQyD0loxcOkyzh0+BEsdVG5mGgQ801v3tJYvc3dgcrrOlmKFoD xfaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746409982; x=1747014782; 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=oONThx//EO5WSiuREF023HuwIIuJ5yNwT7cwhGAiXZE=; b=mbKFqiNsZnXEXmfqUru8GfUEBkWWBnFW0Vp0qGcRBJs0iEkWMu4oEQN8i5kJMt26ee 2IH8/ctafovbozqgPlG1Tl5SKdP03AWdHO1D8s06TwoxFPgUsKkT/t+3iPPZ0yIotHqt VNbaSNwwSd1tXV0m8XO4kNW7M3QI8zU/JDXotesPF2CKfUWsIkzwUAxOf25A+fQiG6aX PumuR8q1HvpLpf9M/ubWzdjvYLAhgJqZV/nDjo5zGWx1L4Ewedf1tcKo1W8V9kRe2iCq 38N1Ody39kwi+scjEc9krWfHSZ+BCKbZ2HIRzK1jm5OcpB3iZqyGBKGqNqv0qvlOib8I tEGg== X-Gm-Message-State: AOJu0YxM5kAfMqMrp8hk+ewKaakOZK367hgKVUGqSE4+TUJ4QRypDuJF e1qc7WzKAFkyuZasbhsHV+UFYMvxg+ezUEtc9eRZv8qJOKAnAjbEZvVllDpBf1kBHbJEJrxUjDa OzmM= X-Gm-Gg: ASbGncsf7ZoFEcgYiIVCVYt83oysf9H7u5icarDGbxSFfoH7VJUyW16Vo84AuM3Kbru IoKx+7pBlZW+hO82fayS6TnZcYjyFeaJfFadOZdAC3YoGQQesQsZTDA1NFJnXorkJ88dh7nMwTk yvrFw3T64FSZrP5qbu2rQkaU4KQ7uIxQEdfxqPJNNR4LeDvWLQWQH8iByFQke/yGKeWT8XIv3cX hz75fOeb4hUJsoPD1Wr68VUZpCmvDwmBOBk4/8nGG4QFBlTwzhcxkCQRdLJxhwlFG0JBiSaih6o FRyoMyCZTMdLF+zJ+348gkXz2fdLKq3sNOSGejVH X-Received: by 2002:a05:6a20:3950:b0:1f5:8b9b:ab54 with SMTP id adf61e73a8af0-20e06823c71mr10780816637.23.1746409981839; Sun, 04 May 2025 18:53:01 -0700 (PDT) Received: from pc.. ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b1fb3920074sm4462101a12.11.2025.05.04.18.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 May 2025 18:53:01 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-arm@nongnu.org, richard.henderson@linaro.org, alex.bennee@linaro.org, kvm@vger.kernel.org, Peter Maydell , anjo@rev.ng, =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , Pierrick Bouvier Subject: [PATCH v5 36/48] target/arm/machine: reduce migration include to avoid target specific definitions Date: Sun, 4 May 2025 18:52:11 -0700 Message-ID: <20250505015223.3895275-37-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250505015223.3895275-1-pierrick.bouvier@linaro.org> References: <20250505015223.3895275-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x531.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier --- target/arm/machine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/arm/machine.c b/target/arm/machine.c index 978249fb71b..f7956898fa1 100644 --- a/target/arm/machine.c +++ b/target/arm/machine.c @@ -6,7 +6,8 @@ #include "kvm_arm.h" #include "internals.h" #include "cpu-features.h" -#include "migration/cpu.h" +#include "migration/qemu-file-types.h" +#include "migration/vmstate.h" #include "target/arm/gtimer.h" static bool vfp_needed(void *opaque)