From nobody Mon Sep 16 18:55:53 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1706887050597947.2830207284006; Fri, 2 Feb 2024 07:17:30 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 7F4FE1BDE; Fri, 2 Feb 2024 10:17:29 -0500 (EST) Received: from lists.libvirt.org.85.43.8.in-addr.arpa (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id C4C121D66; Fri, 2 Feb 2024 10:09:30 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id B32221B4F; Fri, 2 Feb 2024 10:09:09 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id B84181B2A for ; Fri, 2 Feb 2024 10:09:07 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-421-GhMsYnzyMgKzopJjvH_s6g-1; Fri, 02 Feb 2024 10:09:05 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A03AB3804070 for ; Fri, 2 Feb 2024 15:09:05 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 35800111D785; Fri, 2 Feb 2024 15:09:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: GhMsYnzyMgKzopJjvH_s6g-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [PATCH 4/5] cpu_map: Remove unused alias information Date: Fri, 2 Feb 2024 16:08:56 +0100 Message-ID: <20240202150857.157070-5-twiederh@redhat.com> In-Reply-To: <20240202150857.157070-1-twiederh@redhat.com> References: <20240202150857.157070-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: N4WD6N7NIOC6XAHVAA4QMSRHXQJ64HOD X-Message-ID-Hash: N4WD6N7NIOC6XAHVAA4QMSRHXQJ64HOD X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1706887051459100001 These were introduced in 1d946ac794 in an attempt to make this information usable for libvirt. This did not work out and has been unused since. Remove from x86_features.xml as this data is preserved in the feature name translation tables in sync_qemu_features_i386.py. Signed-off-by: Tim Wiederhake --- src/cpu/cpu_x86.c | 5 ----- src/cpu_map/x86_features.xml | 26 -------------------------- 2 files changed, 31 deletions(-) diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index 6b2531b360..7516941701 100644 --- a/src/cpu/cpu_x86.c +++ b/src/cpu/cpu_x86.c @@ -1099,11 +1099,6 @@ x86ParseDataItemList(virCPUx86Data *cpudata, while (node) { virCPUx86DataItem item; =20 - if (virXMLNodeNameEqual(node, "alias")) { - node =3D xmlNextElementSibling(node); - continue; - } - if (virXMLNodeNameEqual(node, "cpuid")) { if (x86ParseCPUID(node, &item) < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 8d1dbe68e8..60c952223a 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -8,11 +8,9 @@ =20 - - @@ -22,7 +20,6 @@ - @@ -62,13 +59,9 @@ - - - - @@ -207,7 +200,6 @@ - @@ -238,7 +230,6 @@ - @@ -369,7 +360,6 @@ - @@ -406,7 +396,6 @@ - @@ -529,11 +518,9 @@ =20 - - @@ -585,7 +572,6 @@ - @@ -595,11 +581,9 @@ - - =20 @@ -608,15 +592,12 @@ - - - @@ -626,7 +607,6 @@ - @@ -684,19 +664,15 @@ - - - - @@ -706,7 +682,6 @@ - @@ -940,7 +915,6 @@ - =20 --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org