From patchwork Tue Jan 28 13:54:22 2025 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: 860393 Delivered-To: patch@linaro.org Received: by 2002:a5d:6b8c:0:b0:385:e875:8a9e with SMTP id n12csp360476wrx; Tue, 28 Jan 2025 05:55:06 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUnMNZvcto3bjhUhLkcS8GWzDvNEyzprfo2y3ESWX0nsXS0et8myQVlgdejHcgW7nVRRv6vaw==@linaro.org X-Google-Smtp-Source: AGHT+IF4+2rErbQjzGwnVUT0n4YWXHwTsr2mQW8U4EsnPjd3hrA3oTtTjuhlX0hSzIcEfCB0GxgO X-Received: by 2002:a05:620a:17a3:b0:7b1:19f4:c6e0 with SMTP id af79cd13be357-7be63253f1amr7016971885a.51.1738072506342; Tue, 28 Jan 2025 05:55:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1738072506; cv=none; d=google.com; s=arc-20240605; b=k5J77irMlHIVhlPvxPgEWBgFjw5fYrwVwqaGf52eGIhUqQo+EQ3xR1TqkgkjdEogUp WBYouZy/odYQYl4ICxHq7PaGmGPu9h5MhwdGrOefXIrO+yDDKoy46jK9tpjd7gdA556c mhbn+K9+d/OYsxXFKxQEGfgHz2CJ2Spn//uxBx399zaDw5pDYYzF9DC5UbazHvB8wTN2 Iz9PXe4Az0AYj+Otjk+6uXqQWEjfXjBxXAgpuBycW29bL/jUSjMSEDN+FfTkQ9rmZLPI aVzpI7FhgxVV663TOTyePcviQI4kO9l8wvzvN96qOhuzhvY6lcGh8wCyiOu3qUjgJzbq PmoA== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=a+r7ODhuu9s0569fMZKjXAvTdbCLGmUJt4rbO9ZfXGQ=; fh=he6qF/KMP6eFixTgylxvrlgxhBxgGRgoUCHyk8cWuiE=; b=M1mNhaxRoDuZdjW005ialCMdCKWXhZ+O6FSjVu1CpwZ3sISEKBwizwOHNBTvXuVP8n cg8P0PwAtdSgFssgaXT10+pKcml+JxmVes3AQT3+hFYtYYRds9+qqWo0X7IvMMKvIOX0 HKsEXFSD///Ojg7fQBI426Z3MdCRmxFrQb4m/ZGGSJxfLYFXFxj1f9AEF4fDAEvFvoQg HN09CCw5zdwYutv4TgEOOXmqUNCEbNbrky5B+tUiNYLA9FTn8kLT0qf6fRBItVhjkOXY cpfTaUGpRqGct9uJeUYTYfjYf//06L5G/PuzylgpjNmKJYXNbzNJ9kijWmJjlG1ztqWT CPOA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RMCxZD/Y"; 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 af79cd13be357-7bea09cc86esi1005899185a.567.2025.01.28.05.55.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Jan 2025 05:55:06 -0800 (PST) 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="RMCxZD/Y"; 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 1tcm38-0004TF-Cy; Tue, 28 Jan 2025 08:54:43 -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 1tcm30-0004S7-HQ for qemu-devel@nongnu.org; Tue, 28 Jan 2025 08:54:35 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tcm2z-0006YE-2f for qemu-devel@nongnu.org; Tue, 28 Jan 2025 08:54:34 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3862ca8e0bbso4970366f8f.0 for ; Tue, 28 Jan 2025 05:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1738072471; x=1738677271; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=a+r7ODhuu9s0569fMZKjXAvTdbCLGmUJt4rbO9ZfXGQ=; b=RMCxZD/YtMrOmufKiKsMhHKYfThvWCvogewbBLlwgZg4pd8kbgWhNq3BSrH9I0AENx 1lR/3kmBEKMuMwjWIgYowOTMQA2OlwYsKBgtFXvTFlxOCqK63+s72hxrD1OVnPKsRoPW ugC+LvCHgmr/4SJvtg1VqYgWK5sQ/iolAlLtTnark5O2PHgr0rP9SRyfrplwnqdAe3iv nU1LMiKHLX4H7BmLISuw/JeXwVR6owbgJO+BbVGi2xQG6ltL3AUZfhla65Md/Ib2qBeW cdHiUd+FXb2Em1VZd0waNwIP7vqkfcCRoFNFvGZjVABhyTO/cvdswYGArx5bBb0qhabc HFhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738072471; x=1738677271; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a+r7ODhuu9s0569fMZKjXAvTdbCLGmUJt4rbO9ZfXGQ=; b=uhKZgFeED4npyAfbLJ3aSuszBHI20GzVZJKEfivvlMli6ZxkyRz9ROxq8QKmt41HWq qIwgspxBD6Qh/fWL14KHzBrz1hTPxPnYEIl547Utrjbss0tQ9ArMRRU1JIoGfFJHPLcj YiG6fFvwo4rpapz1PBVkPp+F7KrRfnlqlYF1gtRV1JRigHg5QVfJ9CgZDecuAJ9LtvF0 kqwTEM9NEvGe9Gd85BxpARmSREKhi/5N6RA/efcdUGNvfEeI615DR4MVpYReJKtTHycS g3lBfguzbGDaAKqmWWsXmUDxiL6FAiXmdFSRnprH0SAwzcc4Yt87v/DLyim0gCKDNqD9 BheQ== X-Gm-Message-State: AOJu0YxpgwdP9SEPu6SSel8Bf8KIouMhsnFQ0Emd3TtG3gc5lRJwI5CS wOJwNLFY6J1Z655iLWF+FD1OZI7RId8Q2ff0LmW55SkieQ8SXgR5Za1kvoFS1AyVMBlgAYy8rXa mKWE= X-Gm-Gg: ASbGncuxgshOZhu0wdvxo/S9v+sWMlekLKtbxGL5UP+3/qSsWMbIOTOWPQ239I8p75Z gAgQi541Keeb1jCJIAlqc76BsZlvv4atdSY2bc9kxfQHQeULG09rnfDERvIkJFic1pALHLbOE3H 818X4d6VlH83diM7YXoTbvBVTa8ZE+rTozxOsxz4GlqGj21mTg5mQ6rw9pwfGupCB0KCqemAj8G 3ehYbfe3Ew+KmuGZloBzAq8Dws4zUmo31xtrxOp1Z5ljTPmAFo4uybQFds9mUsvtAedKOgPdtH/ tX25eP1qFxFzowLvdzqYaQFXF46jdMEQNWIQm+9OBrPxgNgg1AqtU356x9jJW2/LIQ== X-Received: by 2002:a5d:47a9:0:b0:382:40ad:44b2 with SMTP id ffacd0b85a97d-38bf57a77aemr41255759f8f.34.1738072471175; Tue, 28 Jan 2025 05:54:31 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c2a1764e9sm14380488f8f.17.2025.01.28.05.54.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 28 Jan 2025 05:54:30 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Fabiano Rosas , Paolo Bonzini , Laurent Vivier , Thomas Huth , Hyman Huang , Phil Dennis-Jordan , Peter Xu , Akihiko Odaki , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 0/7] tests/qtest/migration: Update framework to allow using HVF accelerator Date: Tue, 28 Jan 2025 14:54:22 +0100 Message-ID: <20250128135429.8500-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.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 Hi, This series modify few bits of the migration QTest framework to allow running the tests using the HVF framework (also leaving the possibilty for other ones, removing the KVM/TCG restriction). Philippe Mathieu-Daudé (7): migration/dirtyrate: Do not unlock cpu_list lock twice tests/qtest/migration: Make 'has_dirty_ring' generic tests/qtest/migration: Initialize MigrationTestEnv::arch early tests/qtest/migration: Pass accelerator arguments as machine option tests/qtest/migration: Add MigrationTestEnv::has_hvf field tests/qtest/migration: Run aarch64/HVF tests using GICv2 tests/qtest/migration: Allow using accelerators different of TCG / KVM tests/qtest/migration/framework.h | 1 + migration/dirtyrate.c | 1 - tests/qtest/migration/framework.c | 43 ++++++++++++++------------- tests/qtest/migration/precopy-tests.c | 6 ++-- 4 files changed, 26 insertions(+), 25 deletions(-)