From nobody Fri Apr 26 13:03:00 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610060610; cv=none; d=zohomail.com; s=zohoarc; b=RPPtxMc/p7dHcpsMJOsR8fbQPOqySZ1HoRRvHj0ENOs9xTqQI8u4/ITlKsh/DZpigAkq9OFPrpFmRqW1aXoq12AvkXEBqIeo4u00k33TifmQ5uTLOGYfdUjJO3v+zyZPBuVVhp7E+gvqPYe4N85AZyuQcEHijDKIufRNMa6cgf0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610060610; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=iBMpNUg6/cA5Jv+JRHqW+2/+EsAseQCNJWnJ8oixGsI=; b=IkMyHargJmYL3YtOToVceg9BZZj+0LyUI2Bad6udrwinSvRoPA20RYIJPxOr3FWeuXMRDuQ0dEwOyGbrQvkb5c0r5llK1qmV9MsVXjx11Cl9ijdIA89c/AArHjCgBJAarRxbZLZ7KAm6D2033M1GUXdxqBdr4GZh3o39CD+5aVs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1610060610221299.30677037073144; Thu, 7 Jan 2021 15:03:30 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-296-F2ZMZyeUNSeNYmlIZwx9Dg-1; Thu, 07 Jan 2021 18:03:26 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0186A1005504; Thu, 7 Jan 2021 23:03:19 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D41425C8AA; Thu, 7 Jan 2021 23:03:18 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 9D4E74BB7B; Thu, 7 Jan 2021 23:03:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 107N3H9P004914 for ; Thu, 7 Jan 2021 18:03:17 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1E23160937; Thu, 7 Jan 2021 23:03:17 +0000 (UTC) Received: from virval.usersys.redhat.com (unknown [10.40.194.63]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E28A560CC3 for ; Thu, 7 Jan 2021 23:03:13 +0000 (UTC) Received: by virval.usersys.redhat.com (Postfix, from userid 500) id EBF122474AD; Fri, 8 Jan 2021 00:03:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610060609; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=iBMpNUg6/cA5Jv+JRHqW+2/+EsAseQCNJWnJ8oixGsI=; b=YNyd6gY6Xbzbp8WgJr578Coi1r8krIKoIkx+MOeKAbfcM/c9vXD0MEOG/JoN4/aMAossTM 9QsWAHQOUgmar0rKTr8dtNddPLcfYlpV9VgUCXxAoFxPLc4s2092c4p3XcyBaGGeZWKP5z KI6tZUXkvYF9VOe/edPiqCiLbl8Ib2g= X-MC-Unique: F2ZMZyeUNSeNYmlIZwx9Dg-1 From: Jiri Denemark To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] cpu-gather: Remove redundant "processor" from CPU data file names Date: Fri, 8 Jan 2021 00:03:09 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Peter Krempa Reviewed-by: Tim Wiederhake --- tests/cputestdata/cpu-gather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cputestdata/cpu-gather.py b/tests/cputestdata/cpu-gather= .py index f679fb9066..b8c1f23c82 100755 --- a/tests/cputestdata/cpu-gather.py +++ b/tests/cputestdata/cpu-gather.py @@ -237,7 +237,7 @@ def parse_filename(data): filename =3D re.sub("\\(([Rr]|[Tt][Mm])\\)", "", filename) filename =3D re.sub(".*(Intel|AMD) ", "", filename) filename =3D re.sub(" (Duo|Quad|II X[0-9]+)", " ", filename) - filename =3D re.sub(" (CPU|Processor)", "", filename) + filename =3D re.sub(" (CPU|[Pp]rocessor)", "", filename) filename =3D re.sub(" @.*", "", filename) filename =3D re.sub(" APU .*", "", filename) filename =3D re.sub(" SE$", "", filename) --=20 2.30.0 From nobody Fri Apr 26 13:03:00 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610060606; cv=none; d=zohomail.com; s=zohoarc; b=iHtWZWGAPAQv0Dav8pzD7N5sdeerbcJW6UE1+1/PuIxrpiwGLK+43bp0bXdKde1HTtNUXQiwRJFzfgOaroPzK8NiZURQMCpfzaCLbedpZ4zLAc9OXUcXjm0kgA8/0BAxzcoor36/nZid9CbYsIi0vqnxAACq5X/R53yWPc25oto= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610060606; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=iri1w+dT8vQSxi8cDSTSzZ3DLbJ6a4lzqoHq4p265T4=; b=h2EBueG9C7/YlCZqEwNUUrLukyqFG1wZ0Tvu6ZVdCT0+D1ksKtunQFNPhboVU5HrzgXhxGz6uz4QG4O+hr8TX9l/oOfCqHAQ/Xi9BJjoNCN5/b3EvldfcRj/mWJrDtqc+UTSh8O+hcBqCDkiX4FbQUJelIjKTUYrycD2ECEAR84= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1610060606310742.1304090810157; Thu, 7 Jan 2021 15:03:26 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-480-YkesKUCjO4iIeoWDM0re0g-1; Thu, 07 Jan 2021 18:03:23 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C8B7019251A1; Thu, 7 Jan 2021 23:03:17 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A6AD35B6A2; Thu, 7 Jan 2021 23:03:17 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 71751180954D; Thu, 7 Jan 2021 23:03:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 107N3Hga004907 for ; Thu, 7 Jan 2021 18:03:17 -0500 Received: by smtp.corp.redhat.com (Postfix) id 032475D9DE; Thu, 7 Jan 2021 23:03:17 +0000 (UTC) Received: from virval.usersys.redhat.com (unknown [10.40.194.63]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C983C5D9DD for ; Thu, 7 Jan 2021 23:03:13 +0000 (UTC) Received: by virval.usersys.redhat.com (Postfix, from userid 500) id EDFDD2474AE; Fri, 8 Jan 2021 00:03:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610060605; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=iri1w+dT8vQSxi8cDSTSzZ3DLbJ6a4lzqoHq4p265T4=; b=LSLk0DMP0eJ1B4Syb6PR8raogOE1FSOWt7X9a+4qPQ8qjO2AEnByxo8deTTqQaL1rTZCyc Rj1whOzJImBIX9npraCEP/AEJNi1+vRmmXeu0g9s3X3zdfDQkhOGuYBrQIth5gIdAM4Tka lKXF6H9a0yMyKYNj9pBaKflAk5IxXl4= X-MC-Unique: YkesKUCjO4iIeoWDM0re0g-1 From: Jiri Denemark To: libvir-list@redhat.com Subject: [libvirt PATCH 2/3] cpu_map: Suggest better command for updating test data files Date: Fri, 8 Jan 2021 00:03:10 +0100 Message-Id: <8d1013fb0da0ccd40383cbbc5eea4c195c5f7ab7.1610060540.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" cpu-cpuid.py was merged into cpu-gather.py and the script can handle multiple files so there's no need for a loop around it. Signed-off-by: Jiri Denemark Reviewed-by: Peter Krempa Reviewed-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 4836595a8c..01a777e0e8 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -1,9 +1,8 @@ --=20 2.30.0 From nobody Fri Apr 26 13:03:00 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610060616; cv=none; d=zohomail.com; s=zohoarc; b=K1WOSK9t+uvxYAwSthy1cCJZjchxO93mlmxEAa1MdULCVhRnOO69LieSKsbPWC2WbDc6VFrYwokigoMiPwJJZAi0wH2EwlwyQvQntes/o09Ko0K+pmqpGRhorcY51hBX9ZzoMc0D048n16eyPuePRXWPsDDDWeGLfpU6CUgIM8A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610060616; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=KKZCXV07+gXDK2HJkDQGUOndrqPEoGv1S2db1XSBKBM=; b=G5kHleXN54hhmpy6MHVtr9rrfOTa9qWiL5BItvTNjAXdWUW4iptikkwtb4x7UEdiWa2WohuhNAmaaU3wmaVgJEpneuWiTwnm/lXL4YeL1u2toGZXvo8LGc4WYR2sEcY4D1B6kOqgDTfdQxwNsbETSc6s3fBgqBsAMvYpqxrbQt0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1610060616170449.3244956514267; Thu, 7 Jan 2021 15:03:36 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-179-HX924W36NZuBqx4qgrcPlg-1; Thu, 07 Jan 2021 18:03:32 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B9E6D8049C5; Thu, 7 Jan 2021 23:03:21 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9586B10021AA; Thu, 7 Jan 2021 23:03:21 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 62F6F1809CA4; Thu, 7 Jan 2021 23:03:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 107N3HhJ004913 for ; Thu, 7 Jan 2021 18:03:17 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1F12818024; Thu, 7 Jan 2021 23:03:17 +0000 (UTC) Received: from virval.usersys.redhat.com (unknown [10.40.194.63]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E48841724C for ; Thu, 7 Jan 2021 23:03:13 +0000 (UTC) Received: by virval.usersys.redhat.com (Postfix, from userid 500) id F03A42474AF; Fri, 8 Jan 2021 00:03:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610060615; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=KKZCXV07+gXDK2HJkDQGUOndrqPEoGv1S2db1XSBKBM=; b=Nw1L2Zt0w8kEgfxpdV/LPuw92mzm6YM/eDHoIM01KMlEKmYkl14s+SZmj4KydZ3FupR4oG GmwVfqxMkuJxymRons/utLxOsnJ6/kTbJ0BtGhcKdz/s3DNa3nI+t9b/SLabSBdrdgUY+/ BJ2QNqaoktpbVbcZFVZfwTQuec0xiiE= X-MC-Unique: HX924W36NZuBqx4qgrcPlg-1 From: Jiri Denemark To: libvir-list@redhat.com Subject: [libvirt PATCH 3/3] cpu-gather: Rename the script as cpu-data.py Date: Fri, 8 Jan 2021 00:03:11 +0100 Message-Id: <3c0898c751404c58543bb95dcb63de396cbda147.1610060540.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" It is now doing way more than gathering the CPU data from a host as the other scripts were merged in it. Signed-off-by: Jiri Denemark Reviewed-by: Peter Krempa Reviewed-by: Tim Wiederhake --- src/cpu_map/x86_features.xml | 2 +- tests/cputestdata/{cpu-gather.py =3D> cpu-data.py} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/cputestdata/{cpu-gather.py =3D> cpu-data.py} (99%) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 01a777e0e8..5cfa07502a 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -1,7 +1,7 @@ diff --git a/tests/cputestdata/cpu-gather.py b/tests/cputestdata/cpu-data.py similarity index 99% rename from tests/cputestdata/cpu-gather.py rename to tests/cputestdata/cpu-data.py index b8c1f23c82..a41f1d025c 100755 --- a/tests/cputestdata/cpu-gather.py +++ b/tests/cputestdata/cpu-data.py @@ -455,7 +455,7 @@ def main(): help=3D"Reads data from stdin and parses data for libvirt use.") subparsers.add_parser( "full", - help=3D"Equivalent to `cpu-gather gather | cpu-gather parse`.") + help=3D"Equivalent to `cpu-data.py gather | cpu-data.py parse`.") diffparser =3D subparsers.add_parser( "diff", help=3D"Diff json description of CPU model against known features.= ") --=20 2.30.0