From patchwork Mon Oct 2 14:51:03 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: 1842165 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=RhXPDXKq; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 4RzkS845zsz1yqQ for ; Tue, 3 Oct 2023 01:51:52 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnKGX-0004bh-CI; Mon, 02 Oct 2023 10:51:21 -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 1qnKGS-0004ZN-DE for qemu-devel@nongnu.org; Mon, 02 Oct 2023 10:51:17 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnKGQ-0002ip-TJ for qemu-devel@nongnu.org; Mon, 02 Oct 2023 10:51:16 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-313e742a787so1936717f8f.1 for ; Mon, 02 Oct 2023 07:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696258273; x=1696863073; 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=co5h75FftertdJKnoFFL8Po50NhDEPJsEDtaOs3GItU=; b=RhXPDXKqmyEdfeOrsShlhkUPZdRV3XqJCCOvvXCLvJI0ffjkHYTcqOLfeIri5yU+0b WQmNgV6bYmQVHybzjisnVXGXc2GqpfHOvG/G/acJpJfdODW44F6O9kMBF+EQkdWt8Cqn /8Z6IlSfOl8mmf5NjmWznU6L2Llfd3Aufd4Z/sLGV6nFUK+2nHMGv55JHrEe/3eGz8qY tUTJrGzYeNJVi+8qgUlRWFL4OXHThtmO2+e8KlUG9gatA8/t02eUNBwAP4nAKzxserkL HhmsDk6rI4exvW5C6tU7iTetmex+XFuRLTboI/cxYkYEX2TxXPKZ2qaxqNXxGFDmayX4 nAkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696258273; x=1696863073; 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=co5h75FftertdJKnoFFL8Po50NhDEPJsEDtaOs3GItU=; b=Pk9kRY0qpbbE77P/djw+HNN5E0EuiaTVPYDlfWQPINMNmD12X2TMcvGKJ2W+S/OVdw nyTVT2SHOb7/Jrl2dUNuRghbJzfeHcxaGOrXmAHnBBQe2VUognjg2PcI2ExCq52L4ry4 F4H9hvcLexZ4JJtbIESzcMS/AZefpYu4+suh0dMDGSZKcd7lN5qEL4HYd+p56RtMGsbz Pht7fch8vfKP1cxSVQa2yzl5VJQZtu1wDeR7R92aONBnxfteo6mxV/lAlrpkJDMnkvgl oD71VGkttR0nArXFyDrE9UbfASQ6d9oiSZ09ctBc/V0qia4aaMBueoMAkbLGENnsbrvB hNnA== X-Gm-Message-State: AOJu0Yx9tmyttpX2HV+ZNGRFqe1D7IP24wXL0IVT57zH0EVgdRrypzhz 2hBB4Q+FA6YwLJl0flSxsPofLdxi6GELjwgnK1NhTQ== X-Google-Smtp-Source: AGHT+IGjhdEfVK+Aetp0PdU+ZgDYNN4tvOtgDVVq/0X4Na1s1zwTfkp8DubsSk876Np/ak7J/TKAtw== X-Received: by 2002:a5d:4b83:0:b0:314:c6b:b9a2 with SMTP id b3-20020a5d4b83000000b003140c6bb9a2mr9949011wrt.13.1696258272952; Mon, 02 Oct 2023 07:51:12 -0700 (PDT) Received: from m1x-phil.lan (sto93-h06-176-172-7-203.dsl.sta.abo.bbox.fr. [176.172.7.203]) by smtp.gmail.com with ESMTPSA id 11-20020a056000156b00b0032485046055sm10464117wrz.5.2023.10.02.07.51.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 02 Oct 2023 07:51:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Wainer dos Santos Moschetta , =?utf-8?q?Daniel_P=2E_Be?= =?utf-8?q?rrang=C3=A9?= Subject: [PATCH 1/2] tests/vm/ubuntu.aarch64: Correct comment about TCG specific delay Date: Mon, 2 Oct 2023 16:51:03 +0200 Message-ID: <20231002145104.52193-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231002145104.52193-1-philmd@linaro.org> References: <20231002145104.52193-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Wether we use a software MMU or not to set the SSH timeout isn't really relevant. What we want to know is if we use a hardware or software accelerator (TCG). Replace the 'softmmu' mention by 'TCG'. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/vm/ubuntu.aarch64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vm/ubuntu.aarch64 b/tests/vm/ubuntu.aarch64 index 666947393b..eeda281f87 100755 --- a/tests/vm/ubuntu.aarch64 +++ b/tests/vm/ubuntu.aarch64 @@ -25,7 +25,7 @@ DEFAULT_CONFIG = { "apt-get install -y libfdt-dev pkg-config language-pack-en ninja-build", # We increase beyond the default time since during boot # it can take some time (many seconds) to log into the VM - # especially using softmmu. + # especially using TCG. 'ssh_timeout' : 60, } From patchwork Mon Oct 2 14:51:04 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: 1842166 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=CG830PvX; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 4RzkSV75Lxz1yng for ; Tue, 3 Oct 2023 01:52:10 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnKGa-0004hq-2K; Mon, 02 Oct 2023 10:51:24 -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 1qnKGY-0004fr-U1 for qemu-devel@nongnu.org; Mon, 02 Oct 2023 10:51:22 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnKGX-0002j7-9k for qemu-devel@nongnu.org; Mon, 02 Oct 2023 10:51:22 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-32799639a2aso1777265f8f.3 for ; Mon, 02 Oct 2023 07:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696258278; x=1696863078; 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=8S39qzZ9AC0fGmB7PeI+z6F8myTw3Ni1jGr5MISvYF4=; b=CG830PvXx7eBclj7HJcXkhwRvidsQo8OGm0jlg5rvqLE7wWraSr6CGZ9GBcMKnEvZW AKqv2+DCMxoJoAaxiOw3wt0LG/v7beyvQ4aYj9tvkMU72Em68ImYGMiV1yx9ppZ9O9hs tY85nGNHaJiCOxU0l+mC84InajqJQ7z9wFwKjTPPG8kp5PG3Nov/8M+DltYT/8tDEFZA /KkNkNhde8e5Zd0JNHo9x8VU4aMEIUfU3aM8XEVXXfH1RM+36vznunmckhjDPRixVrd4 EEG7qB/NSt1fG67ho5SBP/uQeQE+r6iiWEzQPQGZznyPdcczFb8z3AOKAI64jqCQsAwL XSZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696258278; x=1696863078; 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=8S39qzZ9AC0fGmB7PeI+z6F8myTw3Ni1jGr5MISvYF4=; b=VOA/eBYC2NnoIs12sAPEZKaeE9n+8qRwdW3HgTA2pBFi3odvGqc/LfHB25Q821zr7R DuBZqvtegqeOcEfYyRgnxnmwF8MnFXirZzYJAtl/WbWmr+hv1ffkXxVtx6sSLlOKc2sj 6JuypTmm5XLY9w0fzZFJs4nxcdhq13gPtQ/8zyNJZxjpW6hlSzIHAH0bOuDVOsUumxsz nZ/dZWQaCWshS06XEy9W6GaWNymMe5Z0c7T0V4/Ny3KqcJAHKQ+Z9mFKpsr6LNozZeZc kNjVTeeVZ2lpUgclB1nFrGpqYDvU68O3xYEVskynKakuWM7XIhSFfuaizcYhK8W7UQ9F 2ByA== X-Gm-Message-State: AOJu0YxWiiolmTQTqKrSpC1y43WH6Xi4je7hxgxbbxB2Y3peArM/1+Tx Gu8WyojK7h1a6SSidwWRvuiCv1RSBemjmE5aA+QtMQ== X-Google-Smtp-Source: AGHT+IErXSuebXqaNepVVRGrLC9LF63GNBVcqgjVWi1fu1Um3zz2d5CNj3NzYJ+LXXLq+5wh8CrIog== X-Received: by 2002:adf:fe42:0:b0:317:5747:b955 with SMTP id m2-20020adffe42000000b003175747b955mr10109226wrs.17.1696258278351; Mon, 02 Oct 2023 07:51:18 -0700 (PDT) Received: from m1x-phil.lan (sto93-h06-176-172-7-203.dsl.sta.abo.bbox.fr. [176.172.7.203]) by smtp.gmail.com with ESMTPSA id d29-20020adfa41d000000b003197869bcd7sm23226580wra.13.2023.10.02.07.51.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 02 Oct 2023 07:51:18 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Wainer dos Santos Moschetta , =?utf-8?q?Daniel_P=2E_Be?= =?utf-8?q?rrang=C3=A9?= Subject: [PATCH 2/2] tests/unit/test-seccomp: Remove mentions of softmmu in test names Date: Mon, 2 Oct 2023 16:51:04 +0200 Message-ID: <20231002145104.52193-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231002145104.52193-1-philmd@linaro.org> References: <20231002145104.52193-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philmd@linaro.org; helo=mail-wr1-x42c.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Wether we are using a software MMU or not is irrelevant for the seccomp facility. The facility is restricted to system emulation, but such detail isn't really helpful, so directly drop the 'softmmu' mention from the test names. Signed-off-by: Philippe Mathieu-Daudé --- tests/unit/test-seccomp.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/unit/test-seccomp.c b/tests/unit/test-seccomp.c index f02c79cafd..bab93fd6da 100644 --- a/tests/unit/test-seccomp.c +++ b/tests/unit/test-seccomp.c @@ -229,26 +229,26 @@ int main(int argc, char **argv) g_test_init(&argc, &argv, NULL); if (can_play_with_seccomp()) { #ifdef SYS_fork - g_test_add_func("/softmmu/seccomp/sys-fork/on", + g_test_add_func("/seccomp/sys-fork/on", test_seccomp_sys_fork_on); - g_test_add_func("/softmmu/seccomp/sys-fork/on-nospawn", + g_test_add_func("/seccomp/sys-fork/on-nospawn", test_seccomp_sys_fork_on_nospawn); - g_test_add_func("/softmmu/seccomp/sys-fork/off", + g_test_add_func("/seccomp/sys-fork/off", test_seccomp_sys_fork_off); #endif - g_test_add_func("/softmmu/seccomp/fork/on", + g_test_add_func("/seccomp/fork/on", test_seccomp_fork_on); - g_test_add_func("/softmmu/seccomp/fork/on-nospawn", + g_test_add_func("/seccomp/fork/on-nospawn", test_seccomp_fork_on_nospawn); - g_test_add_func("/softmmu/seccomp/fork/off", + g_test_add_func("/seccomp/fork/off", test_seccomp_fork_off); - g_test_add_func("/softmmu/seccomp/thread/on", + g_test_add_func("/seccomp/thread/on", test_seccomp_thread_on); - g_test_add_func("/softmmu/seccomp/thread/on-nospawn", + g_test_add_func("/seccomp/thread/on-nospawn", test_seccomp_thread_on_nospawn); - g_test_add_func("/softmmu/seccomp/thread/off", + g_test_add_func("/seccomp/thread/off", test_seccomp_thread_off); if (doit_sched() == 0) { @@ -256,11 +256,11 @@ int main(int argc, char **argv) * musl doesn't impl sched_setscheduler, hence * we check above if it works first */ - g_test_add_func("/softmmu/seccomp/sched/on", + g_test_add_func("/seccomp/sched/on", test_seccomp_sched_on); - g_test_add_func("/softmmu/seccomp/sched/on-nores", + g_test_add_func("/seccomp/sched/on-nores", test_seccomp_sched_on_nores); - g_test_add_func("/softmmu/seccomp/sched/off", + g_test_add_func("/seccomp/sched/off", test_seccomp_sched_off); } }