From patchwork Fri Jan 20 08:23:30 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: 644623 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp658203pvb; Fri, 20 Jan 2023 00:25:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXuqm7dbV3118XZfTCLSNX4CiRBiWjG8aafivp3shwAa6tdweK6n7sqtUaExEpl+rWaW11uC X-Received: by 2002:ad4:5148:0:b0:535:108e:3958 with SMTP id g8-20020ad45148000000b00535108e3958mr20457477qvq.0.1674203104043; Fri, 20 Jan 2023 00:25:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674203104; cv=none; d=google.com; s=arc-20160816; b=wr1saWwxn3iwYpifFZ9h0LmReeoYe6BlVRXDKDQfV1EHwQigyCLbzVQQPAnLlRDmgA K7J3w5g89OugsOVCdS1bUEv2w3I471j7gSr4vutsDYM4rNMtUExoQZLVINiM2mPh/5Km t8i6WoD9LVdaIEsisvk5AegDJ73pPfahlJ5usK+G448pKYQ374GZrU4K+rId4F27Ghzk BAbcbB8ZjfO/iVcxVBuws+ORxtByZzhWjJMpr6qzcFv9ZR/5LKk2o/J/r6JIxmO/PNkJ V2JAjVBW38wGwwYBv+EM6OB3eu2ZR+LopiVupTNCXD8dzodF4z2wRP7qGpLjCwkLkEZl 0/tQ== 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=gq3KZjZqmhmt+ZIW81YYHELjkhaTdKj6nDlr4LtJu4o=; b=pJMSrSaXY+5n7NCG30Xn/Bu8Gupz1M7vQH2IWJAjVn0pRxm7bsi427Bw83Xt9meyLN Dm9ENSauW3b5y9rR2anu7Od5yzxWtt0N8AexR9s3GU1UFmnNcK/oamNWPQAlyGa2x86w biUf3A6tz61fqSx4Md75a1DrKTnKX/78LHS2LU/7Q/CoUAcHwjED0n9gQqPARutxjuSA ffEKok1J6s7VMUwKBOLOFVyF95QijZziR1jl9dJ/S13O/l8kLMXBwiyYogXUqnY1dtd/ alWk/lQt23RadCptcjLiGWPgVB3dzhulsjPUDYc00yBMwfrSjSDndTtna9Wq/Y/CRaOJ RvZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dkpd+UuI; 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 gy6-20020a056214242600b0053549b0befdsi4380565qvb.4.2023.01.20.00.25.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Jan 2023 00:25:04 -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=dkpd+UuI; 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 1pImgh-0004b3-Oq; Fri, 20 Jan 2023 03:23:51 -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 1pImge-0004aG-53 for qemu-devel@nongnu.org; Fri, 20 Jan 2023 03:23:49 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pImgc-0004YJ-2G for qemu-devel@nongnu.org; Fri, 20 Jan 2023 03:23:47 -0500 Received: by mail-wr1-x433.google.com with SMTP id h16so4104594wrz.12 for ; Fri, 20 Jan 2023 00:23:44 -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=gq3KZjZqmhmt+ZIW81YYHELjkhaTdKj6nDlr4LtJu4o=; b=dkpd+UuIv826VvBxL1EgDvP83gMgAsmAP82j1K/rnbhKODBKNSufd3hFvnZ2k6ucLY J25yCxtHVxjsdmcGc0x78MN61GGhA2S1ZZKW+l34uaqH6Huz1N+nsM5171rkTgBBw3bO Z6u1q1lqoTwMgcXbXng/+NTnBAc6u6E8l1dN6SRO3XyK7Q3Hvrj8PlYOEOpIWLWC8Nmx b8l4NCBhqM3ZLCKdBIOXn7m8PY5SryMOBMl8CxJYR6OxJGS2VK3AoCJaqXiiSgXcU/sh znoSx4gBh8LUdLZlsAIObi+Qc1cfesTuIk2nhtLtu8UUumsdlKSbbNj/czkJ7zO44CgU /vCg== 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=gq3KZjZqmhmt+ZIW81YYHELjkhaTdKj6nDlr4LtJu4o=; b=uATdzFbY72ZJijyCHnQ7jC2sOJVdHhMTdhcF8rgZ6v8YJ+OfMlSEkVmuNtKxrN1In5 HuRvI9isxSnQLoxmlx8FFkM4CP83FIFr0wDVpr57B9hEtg3RoHXLwzRYwKEhtJkqCf+M FyfbZOy6o8KhYCdzoBvcq9dF0vir97+F4PACTCmoQ505Z7crG4Nplzo4JQh9snAqqQ1q lkYEpKwlwL05+Z1fKv6jtkKIGGJ63Rani3AvXrVx43W9iFy16crVFXeO5VvfoCbY8x6T CEJfz8imfxPAAhg7t2/fwdh80AbJ9q8N3jhkCLLtwdoM8X4BsnVMRNz5nDQfMedQ3FeZ OA9Q== X-Gm-Message-State: AFqh2kqIw75iWQO4nVs9HljKUWYYhO2L9w1/44Yni9rkL/D8zZM+N02I zbo7D1rCbzyqtv4lgL4r9zzKwPI1YPupHTUw X-Received: by 2002:a5d:6988:0:b0:2bd:f18d:e909 with SMTP id g8-20020a5d6988000000b002bdf18de909mr11480342wru.1.1674203023407; Fri, 20 Jan 2023 00:23:43 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id n6-20020adfe786000000b002bdbde1d3absm25418384wrm.78.2023.01.20.00.23.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Jan 2023 00:23:42 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , Thomas Huth , Fabiano Rosas , Juan Quintela , Laurent Vivier , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 00/11] tests/qtest: Allow running boot-serial / migration with TCG disabled Date: Fri, 20 Jan 2023 09:23:30 +0100 Message-Id: <20230120082341.59913-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::433; envelope-from=philmd@linaro.org; helo=mail-wr1-x433.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 Missing review: #7 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. Philippe Mathieu-Daudé (11): tests/qtest/boot-serial-test: Constify tests[] array tests/qtest/boot-serial-test: Simplify test_machine() a bit tests/qtest/boot-serial-test: Build command line using GString API tests/qtest/boot-serial-test: Only use available accelerators tests/qtest/migration-test: Inverse #ifdef'ry ladders tests/qtest/migration-test: Reduce 'cmd_source' string scope tests/qtest/migration-test: Build command line using GString API (1/4) tests/qtest/migration-test: Build command line using GString API (2/4) tests/qtest/migration-test: Build command line using GString API (3/4) tests/qtest/migration-test: Build command line using GString API (4/4) tests/qtest/migration-test: Only use available accelerators tests/qtest/boot-serial-test.c | 46 +++++++++------- tests/qtest/migration-test.c | 96 ++++++++++++++++++---------------- 2 files changed, 80 insertions(+), 62 deletions(-)