Message ID | 20210604155312.15902-64-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp621530jae; Fri, 4 Jun 2021 10:40:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyW38BMDVvVVLZIZaGJwVHVIqLna5K7YZwlsBgAp2Cexw3goj8JX8hBgkxSSNz2j1mCGSU X-Received: by 2002:ab0:d8f:: with SMTP id i15mr4622071uak.104.1622828434106; Fri, 04 Jun 2021 10:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622828434; cv=none; d=google.com; s=arc-20160816; b=L4zcMugeq0YC/d+aHY9q9T2HP/0vKvJVLAAN2I/xcXm4HJAz3TSY+jJMQZ5adSvMyH EMUizrFRx0ENMe5135bAzGIlmv6S+VgWdFKboNDCseA2+YREd1mZH5n32vDEI/g0tk7c tyAPfJztvVti4Mc7DFeW3JPR7Cx07Rai9KggXiMoWKxMCqDRP+qM9Si0QA9OgAgJC5rU ByrwY/WSo+Kd4316UYUSs42SJhCY9vfbwXK1vmk/obNZyBDxZbewjJbrM4gRJZpNvZE4 43CaH4dXkupbsC5E6eRvCEWmT039QSwBxx6f5VmvSQ3MQlRtweJnbmKL8ksmQ1ez7xZ4 H/Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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=N2NTbq9Py2mVkZ2OrcWx1tG3NJj+ueFdRocasaLiPrE=; b=dzLwhfmx1oqeC5wH/eJkhduUNDVKAGiliuai+zRG3JIKVikF9NTaVAgv9ctmjCF+hD YYimy5q2US9s3fqUH3FdlDa7dD5xVO8ngW7hz9hbpp+syRHgj9RX50juW0GoznJxZbJc 88L0t0Lu+BusKS9DqsyNel7mqTDm2tsj2vpxwUnlzoRy5Mryt9Z0zH/URKSdrlb07lCw 3OCSEeKPSzj5WGl0me1HMhMmVqqG+uGKtRbXzfse+R/8FJdBrTuIbjHNR+Sew0lAMsx6 UO9hanl1RXKmCLvfrEDHvcDs9tx3A2jYR307oHEsd70eyXTQh04ghUMoXWo6NEBbagRL G19w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=K6Ipp5Ub; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w3si1938291vke.6.2021.06.04.10.40.34 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jun 2021 10:40:34 -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=fail header.i=@linaro.org header.s=google header.b=K6Ipp5Ub; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1lpDo9-0001tU-HY for patch@linaro.org; Fri, 04 Jun 2021 13:40:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1lpDNR-0000C7-2p for qemu-devel@nongnu.org; Fri, 04 Jun 2021 13:12:57 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:39727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1lpDNO-00026v-8d for qemu-devel@nongnu.org; Fri, 04 Jun 2021 13:12:56 -0400 Received: by mail-wr1-x42a.google.com with SMTP id l2so10038506wrw.6 for <qemu-devel@nongnu.org>; Fri, 04 Jun 2021 10:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N2NTbq9Py2mVkZ2OrcWx1tG3NJj+ueFdRocasaLiPrE=; b=K6Ipp5UbFGTiZ7yJ0xV0HroliU+7IgUEBKIVe9AxjeCP+A/5S7bLlSk3dic9g3/NHw Ros0hQNEjdNBVKIQEsoiTXb6qE5L2IOt6yw0nedPoudxYQmbF7pCNl9zLTCCh32jJSiQ JZzMwjkZRY6AMGaiQoJKdgPUKpqziwfaLx7ICKuVwbf0p6ikA7JBmQKluzhxE4nc2jTN ZpGjjO6HM8DmAng9D3rQEBwCFXaVa5ofnGfsnOBHQrFONgBX6a2v5pd/q7gE9G6O6DV9 ir52Yz0/pLd2EhnkMwjXaAW0Yll2zqOEQlZAnuxZLq3FvzCOG7d1eU8ENSkWZfcxphhf YTXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N2NTbq9Py2mVkZ2OrcWx1tG3NJj+ueFdRocasaLiPrE=; b=CuCEYwHt2xSkYrr8F0BvyzWFtb5wx2xIQFqww4XRUFV4fnUjTcr/n8DpiE37Fa/PsQ fK8tE/CwyiyPb8ZpaCjk1JzdXRaueX82QeKE7rG4s7Nyely94ZlqSRYgmuA8v7f/Jtra tmo9WCGZdJI6M/JfUATBi0XIIpZkR0ngfkMpzcAfWklYZJeUq4vzdTir9GlP8RiPxqd+ Sud4tQ79zJjO5oY/V055kd4sD0QB8+3K/xPB4+dNYkriLoBuh4Je7Xczf2axl3+cUPIJ Wur9zzndnOpJXfWvGig6Xp7hHnEEcyM35lcWuQct48UdZ6r43ViGI7Orxpp2ciEcwgkw I0Qg== X-Gm-Message-State: AOAM533gS/HKHR3dvnTUdzmfTgX4a1RE1PYM4baJ8gSFn+f0cLbGgoy5 ziyJH94IwNhz+eNYonyTiY8fAg== X-Received: by 2002:adf:f1c3:: with SMTP id z3mr4807739wro.375.1622826772968; Fri, 04 Jun 2021 10:12:52 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s7sm22532wmh.38.2021.06.04.10.12.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 10:12:46 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 79E9F1FFD4; Fri, 4 Jun 2021 16:53:20 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v16 63/99] tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVM Date: Fri, 4 Jun 2021 16:52:36 +0100 Message-Id: <20210604155312.15902-64-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210604155312.15902-1-alex.bennee@linaro.org> References: <20210604155312.15902-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: "Michael S. Tsirkin" <mst@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= <f4bug@amsat.org>, qemu-arm@nongnu.org, Claudio Fontana <cfontana@suse.de>, Igor Mammedov <imammedo@redhat.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
arm tcg/kvm refactor and split with kvm only support
|
expand
|
On 6/4/21 8:52 AM, Alex Bennée wrote: > From: Claudio Fontana<cfontana@suse.de> > > test is TCG-only. > > Signed-off-by: Claudio Fontana<cfontana@suse.de> > Cc: Philippe Mathieu-Daudé<f4bug@amsat.org> > Signed-off-by: Alex Bennée<alex.bennee@linaro.org> > --- > tests/qtest/bios-tables-test.c | 7 +++++++ > 1 file changed, 7 insertions(+) The new qtest_has_accel should be used instead of an ifdef. r~
Richard Henderson <richard.henderson@linaro.org> writes: > On 6/4/21 8:52 AM, Alex Bennée wrote: >> From: Claudio Fontana<cfontana@suse.de> >> test is TCG-only. >> Signed-off-by: Claudio Fontana<cfontana@suse.de> >> Cc: Philippe Mathieu-Daudé<f4bug@amsat.org> >> Signed-off-by: Alex Bennée<alex.bennee@linaro.org> >> --- >> tests/qtest/bios-tables-test.c | 7 +++++++ >> 1 file changed, 7 insertions(+) > > The new qtest_has_accel should be used instead of an ifdef. I think I can drop the whole patch as nothing is added unless: } else if (strcmp(arch, "aarch64") == 0 && tcg_accel_available) { further down. > > > r~ -- Alex Bennée
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 762d154b34..f8fe4b8efe 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1484,6 +1484,13 @@ static void test_acpi_oem_fields_virt_tcg(void) }; char *args; +#ifndef CONFIG_TCG + if (data.tcg_only) { + g_test_skip("TCG disabled, skipping ACPI tcg_only test"); + return; + } +#endif /* CONFIG_TCG */ + args = test_acpi_create_args(&data, "-cpu cortex-a57 "OEM_TEST_ARGS, true); data.qts = qtest_init(args);