From nobody Wed Nov 12 05:24:28 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1568791161; cv=none; d=zoho.com; s=zohoarc; b=SeaG8KImiNbZbCrXyZFWcaSvgC1xecaA+TouK4VKOPv63sGq75wv4survkhXDnmtIJBf7YcO4BZy04l1/Olrrk+UYdnrnlKXalSlQ0tGtBfKrKBTyPFQfCzIdqb6BYuVp/j8+YLIl1x/G+Sv/tcXAkKdNJw7CWtrppRgCALEV74= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568791161; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=Rzrln4L8S5ZU3MEuvXY+FlaZQd5covOMcKVP7ebM/Fs=; b=XLbwJLggbO56FDXfkuJ6KvA4m70/rul672chRdytysJqEEnAEqjUu2pHEkA0rQbU72OCK2pbNfH4QyW8AmckXzPQOK/BmRYKT8ZGUGAy1XzVf2XiGFrv6iBXk5S5bmE92y6fcQ3vPU6RMnylk/Rj5RL2ndPZQsYGk7Sc96jE8/4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1568791160366138.744729522591; Wed, 18 Sep 2019 00:19:20 -0700 (PDT) Received: from localhost ([::1]:55242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAUFD-0002Fz-0W for importer@patchew.org; Wed, 18 Sep 2019 03:19:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39812) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAUD8-0000gE-1g for qemu-devel@nongnu.org; Wed, 18 Sep 2019 03:17:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAUD7-0003DR-02 for qemu-devel@nongnu.org; Wed, 18 Sep 2019 03:17:09 -0400 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2]:50549 helo=ozlabs.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iAUD5-0003CL-PI for qemu-devel@nongnu.org; Wed, 18 Sep 2019 03:17:08 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 46YBB64z9Dz9sP3; Wed, 18 Sep 2019 17:17:02 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1568791022; bh=Ee6r39NQyeFY3c3LXfZ/hGKxzW7XEVMggHRBTMEmFE4=; h=From:To:Cc:Subject:Date:From; b=XjwOh60eAF1SNxMdVrt/t+eQg4sbB83SYEH/hC7x75hL59JscT5oXHaytdRdNXj/p UtwN9ovBDl3a6P9YssXpA7Qi1JjKLNOUfr8ew8iWQAiXRbAhl7fkIYIytPB/pe/Ipl QKqZQoQfVdNMVcq8B0dOdBgIKxiDyK3AK4AZuz5g= From: David Gibson To: ehabkost@redhat.com, crosa@redhat.com Date: Wed, 18 Sep 2019 17:06:54 +1000 Message-Id: <20190918070654.19356-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [RESEND PATCH] tests/acceptance: Specify arch for QueryCPUModelExpansion X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: philmd@redhat.com, qemu-devel@nongnu.org, Wainer dos Santos Moschetta , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" At the moment this test runs on whatever the host arch is. But it looks for 'unavailable-features' which is an x86 specific cpu property. Tag it to always use qemu-system-x86_64. Signed-off-by: David Gibson Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/acceptance/cpu_queries.py | 3 +++ 1 file changed, 3 insertions(+) I sent this a while back, but it seems to have been forgotten. As far as I can tell the current logic is Just Plain Wrong, on any host other than x86. diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries= .py index e71edec39f..af47d2795a 100644 --- a/tests/acceptance/cpu_queries.py +++ b/tests/acceptance/cpu_queries.py @@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test): """ =20 def test(self): + """ + :avocado: tags=3Darch:x86_64 + """ self.vm.set_machine('none') self.vm.add_args('-S') self.vm.launch() --=20 2.21.0