From patchwork Thu May 15 10:25:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 890186 Delivered-To: patch@linaro.org Received: by 2002:adf:fd8a:0:b0:3a1:f579:ae88 with SMTP id d10csp3062148wrr; Thu, 15 May 2025 03:35:56 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW/JfPbsyg357NuoDOY605zhnuX4YE+rOGpKN7/FEvdpgl2xXiHDuMFsl+xGUQnOui6d+MvfA==@linaro.org X-Google-Smtp-Source: AGHT+IG0kQguIizCskZ7G/u/wZUu6154uJg2OvHg3VPj88UMHkQYSNLhtwSQQrhaIALz0ntbyGPw X-Received: by 2002:a05:622a:4c8c:b0:477:41e5:cb8d with SMTP id d75a77b69052e-494a3440d25mr37622451cf.44.1747305356588; Thu, 15 May 2025 03:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1747305356; cv=none; d=google.com; s=arc-20240605; b=N8Go3+RAsZRqMfWPLqlemaZDcCkLfPq02Ab7GchVrN2iG+Ig1Hn9mkuahKUH6um/Fl JPM+9dmfSEzv+WFftjoH0d1C1TVg9IlKZQgivq3wOSTBEdfteP59XdU+vrMpmvWuBv/e QHS6hxyOKhuOzxo/dxylFqBxWdOkqvjYVECNGwHZhrRnqwuWRKaWlGfPLkfFO6mmq7x/ moS3iKZrnzsfCgwUxs/p9nOt4rscWNoopVyLtAySgtIon2W8GqsKD43NablXcNQCOM0t zYARfsvQFokNfXsAqd81gRHtXaoPEgSSDZf4nqbinlSiNmjtSCp2CqbL2YJkF4jNJVHq EWKA== 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:to:from :dkim-signature; bh=8z7jucKXgGdp5W+emuDqDob6i60dnbQ608/2CuYQdU0=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=etl3aW8dnKZGAk72crTGcS12P2GCYnWXKgNxzHlQd5AxZT7lOquQUlgl+FgqxPhO5P nXTKICvYdCOhgFrToFmpr0VdrFQFVecn962YGujKCflSfKG2CFNIUwZf/liagZtD48+B TlWTD4TMIhJIPdawsRgg+dia9jAxNbYY9rMu8t6tRGiXwZCZPnyOt8RhdkhuqTscfY+f d6B8vyYuJ2BETfMvZfCE+gNUKzjjVvJQvJKf55BJMuC8PZW9icu4J3laBlF3BZKwlFyU pQ4bYa4WpInVwlCt2hiEYBBL0wzWRDR5GBZONZdzp/J0WNv1tevHVzKP9yJLdH/OAWMN HlFQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bYaLmkyx; 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 d75a77b69052e-4945258206asi159973261cf.431.2025.05.15.03.35.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 May 2025 03:35:56 -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=bYaLmkyx; 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 1uFVov-0008CK-4h; Thu, 15 May 2025 06:28:09 -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 1uFVnf-0005R2-6U for qemu-devel@nongnu.org; Thu, 15 May 2025 06:26:51 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uFVna-0008GY-Ry for qemu-devel@nongnu.org; Thu, 15 May 2025 06:26:50 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43edecbfb46so6076055e9.0 for ; Thu, 15 May 2025 03:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1747304803; x=1747909603; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=8z7jucKXgGdp5W+emuDqDob6i60dnbQ608/2CuYQdU0=; b=bYaLmkyxcwwI0W8DNiwcXrzgMKCOeMW/DGX1h/o9P8VlgN6wqx9KMZ+plTQTH5tp2M dPKFXxJbFAR7g7cTn92IWxexo2LK/T0pEkvR3m3C8ce2J+F6GHYBc2kWlk9u6rpmRUtp Nq2nUUBQNSgdH7hB0sjgls52xTK1ZLsV82P0LpPpo5grsa0EXGaUVOhZ1zo3UFjoWn46 Oi64uQSc6HMOUu4G45V6wfumpVSfuymlrQhdyQdfjMO5macB5UwZC5A7H+MMZElNIF+s EO8knZ0f2E4ssVwKb3uQmTvfEc2GtSt768GhIi4uS1z9mo2SQnraqxsg8ZlpUMIyBJPc w0Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747304803; x=1747909603; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8z7jucKXgGdp5W+emuDqDob6i60dnbQ608/2CuYQdU0=; b=ezUEhnlPoFr+GGIr1vd4BA8SzS98hjIoN5LjLuJyLhUzvBs9mDa6f6dpkzzMXmMN0H fsd27ziJ59MBZOvPMhlpPNf2IZVB1Dns0LIN2CWkVujIiLGsKD00GEOK8KVP0JvdycyC BVDI3JjG+H0R1ReeM07jA7S4b+9gu6vWVoNyX2DE14nbxqLfZzcrFjpS8iDynz7mxxSt 2/qksoISYtOL7j1mZVwMnE113dfyhkP4MQPyRaKzfMlJVWVJ5Jf7DhD3n3c+IMzxIidB NS7kwchk89vkyLR386DA8o4sQIStIxP1fRPkBcV4ZDUf+esJwTgtrV089eVAIwT4XLRd zceA== X-Gm-Message-State: AOJu0YzgWExoDhrisMC7xnSxOooWh5En2XRI/V4YrR/TTMWK+IeLRUuz Ps5QzhEBV1hefingLMxxy5gWVJ7WaLEF1GrxH8loAYDjL0j8RKPOCghL5B3WQYKgxK2mwpyJvjo hoJI= X-Gm-Gg: ASbGncvjQWAcfn+2ygiIIjYjtH7Iv0duP+avUYeF9+OdwpNo+702tPM/kMwaoOL1Fur EsyvhIzlh6WPWyTuvZyfKPLNwEwAFS3vXdTlayqbfszlowJP/CggP/QC/UKudjT/sbHNJuqmi1T 5rqYlhen/V64yeyTHp5L4s8xlqPt4WLjrCBuZchW20EGyLE3qhctvvXF/b5Pypv7Mbh8mCzkHp4 etjAEhEjIS2Mp9JS8ZLIZZUdBZBEdShQDnEwiNsq79FTsn0I0Mamk+AOhgdsV57EOi//NY4R8xO weK4HnMlu8i4jo6Cduw6kCVI207Udtx6n3VPBawDqKNJlOi/wrzhXHZYrw== X-Received: by 2002:a05:600c:c87:b0:43d:934:ea97 with SMTP id 5b1f17b1804b1-442f9714ba1mr15179315e9.27.1747304803439; Thu, 15 May 2025 03:26:43 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-442f396c3a4sm65657855e9.26.2025.05.15.03.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 May 2025 03:26:42 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 44/58] target/arm/machine: reduce migration include to avoid target specific definitions Date: Thu, 15 May 2025 11:25:32 +0100 Message-ID: <20250515102546.2149601-45-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250515102546.2149601-1-peter.maydell@linaro.org> References: <20250515102546.2149601-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x332.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=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: Pierrick Bouvier Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daudé Message-id: 20250512180502.2395029-35-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell --- 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)