From patchwork Thu Jan 19 10:05:29 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: 644057 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp126715pvb; Thu, 19 Jan 2023 02:13:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXsvdiUTU/6HmnIqhzPm+c9uOxjmIUlO11WqvOWEW+GmoA8mSB8ZnfMjj3SbJmfHcqltjXdj X-Received: by 2002:a0c:ef01:0:b0:535:53eb:d1cc with SMTP id t1-20020a0cef01000000b0053553ebd1ccmr1407966qvr.6.1674123207096; Thu, 19 Jan 2023 02:13:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674123207; cv=none; d=google.com; s=arc-20160816; b=MV+yQ8tng1vhCJNKMJhe+dmAL6+hfuj2+2erWvARRt8OxTCbjtLv/aPdI863G4ck+w WbJ6fKPv2gyfxVNjz2GKYloQcd/ECdlsZ7NDv18AD2xOCRQlk6OyL+p2vDro217aMzRF bCufxfaGFEtG6XuRnqwdjrdf+4d2lHQ+AIiC7dLcMBok5fsej70Py9b1nfLKrEg1ow7T Xtjbm25IoJ/gAz9sm5cubFokuxNGLBWSZqr5UkVSHa2GRkMHKsCUehjK82YRXpnOuh3s XFCMVVWK9avcqb5WB8g6pqHQFXMXq38fMq4cwJn3iYdbVuKHF5CatmwECYAD+R1nSLbq uHpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=uN3qFnmoj1WnTfMm88xTldxtTtQOWE+7gMCV82qBTQU=; b=Rl36hcdFrdl3Gfs+wmjbNygtK54E/3lHtTNmsIKeYCOZoEp14XOSZoXEON4ZEdqRBy FFujf3GTlufgwCSObBT452bH42UdSeCY569eYDB4XSDl2p3Z2Vner3Uaf17GzKgofA1P T7ssjPVj16DazRyziCaywpSnovkl0FoZfBkqhh892QxDAVqi/n+ZH+uFi6qHgW5UJjjd NB2nLh6WuSDDWXZXsL+SzCSIovkfOF1OZoWgrZPoXPSoyS/hlJg3k9DHhdc7bbnbsSRk Zf5eKAYXbC+ch5S2rgPhSsMeVt3JfCSoPhdhE/Glcdwt99N7LTDcT60M7XoTHZcnH4rI f5Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N+wHtGZj; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id gs8-20020a056214226800b0052086f65de0si18864805qvb.220.2023.01.19.02.13.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jan 2023 02:13:27 -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=N+wHtGZj; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIRo1-0003uZ-GY; Thu, 19 Jan 2023 05:06:02 -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 1pIRnk-0003jN-JS for qemu-devel@nongnu.org; Thu, 19 Jan 2023 05:05:49 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIRni-0005Db-0T for qemu-devel@nongnu.org; Thu, 19 Jan 2023 05:05:43 -0500 Received: by mail-wr1-x432.google.com with SMTP id r9so1322047wrw.4 for ; Thu, 19 Jan 2023 02:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uN3qFnmoj1WnTfMm88xTldxtTtQOWE+7gMCV82qBTQU=; b=N+wHtGZjO6Ax/xK9rwfKDzzj/ZGf3tZK1d1WO7pGB0zcYMue+jrnEkQVRPEfXSWL6+ bzFGC4ZORT0hfN1c1c0EahlZ6iyihKnD6RP429JMNVQ4aXdpWd2VUlWRD/AjznE/C4kU qnkxBhSp8CAnhSGPxILrF/6Eq1SVb18cxdvJzc1BoXEF5XJJDaMYq4UStwuNp07NIZ3r 8x8/gqh/cBTpaZ8T+mFH+HzM0VK4mcZtRT0j2L3LWpKrHZQK7NQDbi8UylzRgG3f0FZY gOTHdxBoYJ2lRINgdzcjF84rfxeCqbQjv/hB1pHaDhKEs9HOwwXc7eiuKg1uI3Dcexvb dNIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=uN3qFnmoj1WnTfMm88xTldxtTtQOWE+7gMCV82qBTQU=; b=5ZJXN6PH5ChFI4ypL3XVR/lo5GN1k8fx6CzRO77BtpWQrcwkrLSm32UW1NIPc6a1Rv OjG60vTWHPY+8QOTvWGMMETF++9ShrHfkaLfa3T26CzC5bTCdZKSR+LakxCR1320u5/H ZLzi6/r4j38Lora/PbZEaRh3Oh7/WZu2145pbfaZupW4NDADXfHhnsEZlw3iQMOJbop4 JBh+3qfaQIJtQVIMeVjotMRvT/vXfgUhe4oagzs2l9tp8DRThp1sjeOWpYBAhoRiUvEd lhBjRUvzGs76lQ0TkxCf4QTjE4RE5Cw4h11X7AUAu63+lYL7t8TLFRR0v5q07JjwhID4 AZpg== X-Gm-Message-State: AFqh2koLuLgmev6Dv1t2fXd7VhxhLLfVBj6enK+qJPFlc+zB2OY1UOmA bpite4z9TAnbM7PdTv7PD7jTssnr1k0wyQSE X-Received: by 2002:a5d:5b0e:0:b0:250:22e4:b89e with SMTP id bx14-20020a5d5b0e000000b0025022e4b89emr10058002wrb.65.1674122739450; Thu, 19 Jan 2023 02:05:39 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id m5-20020a056000024500b00267bcb1bbe5sm34317063wrz.56.2023.01.19.02.05.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 19 Jan 2023 02:05:39 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Laurent Vivier , Fabiano Rosas , Juan Quintela , "Dr. David Alan Gilbert" , Thomas Huth , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= Subject: [PATCH 0/8] tests/qtest: Allow running boot-serial / migration with TCG disabled Date: Thu, 19 Jan 2023 11:05:29 +0100 Message-Id: <20230119100537.5114-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=philmd@linaro.org; helo=mail-wr1-x432.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 Two test were failing on Darwin when testing Fabiano's series which allows building ARM targets without TCG accelerator: https://lore.kernel.org/qemu-devel/20230118193518.26433-1-farosas@suse.de/ These patches allow boot-serial / migration tests to run without TCG / KVM, then HVF. Pending: How to test for (poisoned) HVF with qtest? Philippe Mathieu-Daudé (8): tests/qtest/boot-serial-test: Constify tests[] array tests/qtest/boot-serial-test: Build command line using GString API tests/qtest/boot-serial-test: Only use available accelerators tests/qtest/migration-test: Build command line using GString API tests/qtest/migration-test: Only use available accelerators tests/qtest/libqtest: Allow checking for HVF accelerator tests/qtest/boot-serial-test: Allow running with HVF tests/qtest/migration-test: Allow running with HVF tests/qtest/boot-serial-test.c | 42 ++++++++++---- tests/qtest/libqtest.c | 2 + tests/qtest/migration-test.c | 101 +++++++++++++++++++-------------- 3 files changed, 91 insertions(+), 54 deletions(-)