From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 173231129218457.629966485921386; Fri, 22 Nov 2024 13:34:52 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 91F0D1779; Fri, 22 Nov 2024 16:34:51 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 54DF9151D; Fri, 22 Nov 2024 16:33:27 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id B7E42139B; Fri, 22 Nov 2024 16:33:24 -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 36F90139E for ; Fri, 22 Nov 2024 16:33:24 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-45-78D3OqCrPr-8Om-Bw1DHiA-1; Fri, 22 Nov 2024 16:33:22 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BAA67195608B for ; Fri, 22 Nov 2024 21:33:21 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 3F05E1956086 for ; Fri, 22 Nov 2024 21:33:20 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311203; h=from:from: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; bh=GoWxf7w+X8WDcrg1tDuang7EhXmxpsV7pg/jmL9tUe0=; b=P/4Z9NuUVPzj8CSRY0+z8RZWVC6Pv2Ny7TR5nOoh7ag4JL6JNOParn/SZvyvCcGoWLVQp5 XIjrm5QSk5QrE4dlqVej7S+8sHLM7HKTv3+M/GX8jhn1LtXf2GoCBa3vFEsDeTrPDmmxEj IA0mVNRjSzh6p7Xj+7ptqSKCpmvXJPY= X-MC-Unique: 78D3OqCrPr-8Om-Bw1DHiA-1 X-Mimecast-MFC-AGG-ID: 78D3OqCrPr-8Om-Bw1DHiA From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 01/36] cpu_x86: Annotate virCPUx86Model fields Date: Fri, 22 Nov 2024 22:32:41 +0100 Message-ID: <1e8736eabe3da2793e3147e16a1d500994692aed.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: CAeU-0MVTLrFsOTD6_T1u1IO5X-xCUT7_-37mEZeZ_c_1732311201 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: TIWBR5NDE4W3TWBVCPNMO6EE67XCUXBQ X-Message-ID-Hash: TIWBR5NDE4W3TWBVCPNMO6EE67XCUXBQ X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311293316116600 Content-Type: text/plain; charset="utf-8" Document which fields are inherited when a CPU model is based on another model. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - new patch src/cpu/cpu_x86.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index 97d6e00007..37f3b6e3ce 100644 --- a/src/cpu/cpu_x86.c +++ b/src/cpu/cpu_x86.c @@ -147,13 +147,21 @@ struct _virCPUx86Signatures { =20 typedef struct _virCPUx86Model virCPUx86Model; struct _virCPUx86Model { + /* Not inherited from ancestor */ char *name; + /* Not inherited from ancestor */ bool decodeHost; + /* Not inherited from ancestor */ bool decodeGuest; + /* Not inherited from ancestor */ bool compatCheck; + /* Inherited from ancestor */ virCPUx86Vendor *vendor; + /* Inherited from ancestor */ virCPUx86Signatures *signatures; + /* Inherited from ancestor */ virCPUx86Data data; + /* Not inherited from ancestor */ GStrv removedFeatures; =20 /* Features added to the CPU model after its original version was rele= ased. @@ -164,6 +172,7 @@ struct _virCPUx86Model { * included in the CPU model by the hypervisor, but libvirt didn't sup= port * them when introducing the CPU model. In other words, they were enab= led, * but we ignored them. + * Not inherited from ancestor. */ GStrv addedFeatures; }; --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311345786279.8669528888282; Fri, 22 Nov 2024 13:35:45 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 027401526; Fri, 22 Nov 2024 16:35:44 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 8B6981645; Fri, 22 Nov 2024 16:33:31 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id C8705139B; Fri, 22 Nov 2024 16:33:26 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 40938139B for ; Fri, 22 Nov 2024 16:33:26 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-546-gggnMniXN-GdBg-fKLLKmA-1; Fri, 22 Nov 2024 16:33:24 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D1A511955DC1 for ; Fri, 22 Nov 2024 21:33:23 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 563D930000DF for ; Fri, 22 Nov 2024 21:33:23 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311206; h=from:from: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; bh=OtTYuguWimZFFhB8MnZUVeZNck/2ik1bVUUb8O6NnXY=; b=hmfqdPBP+hbQ+w5jyIPruao6EsaAaPYO4Cm087M9oSeI6eOe3IjeSd+lVbbdmjq0wsL94h tbLyzNJr6JzXAPely8un2yntx9pXwrZJ0rdE4osf2/Whs5o12TWyZYuuNV5i2G72W+di9H 9Z00loLhWDzlPytRgYKSpMFHEPBJz7U= X-MC-Unique: gggnMniXN-GdBg-fKLLKmA-1 X-Mimecast-MFC-AGG-ID: gggnMniXN-GdBg-fKLLKmA From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 02/36] cpu_x86: Promote added/removed from ancestor Date: Fri, 22 Nov 2024 22:32:42 +0100 Message-ID: <5a6e6b39e384f0d394583cc3365e68af4d464723.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: EZdLbWASm73MXjN-_ymlfqkc6UdT5b1WheAw1dP1R90_1732311203 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 4MJHN2XTAEDYYRJPXP7F6LXVT6YMACYK X-Message-ID-Hash: 4MJHN2XTAEDYYRJPXP7F6LXVT6YMACYK X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311347558116600 Content-Type: text/plain; charset="utf-8" When a CPU model is defined based on another model, we were completely ignoring features marked as added to or removed from the original model after it was released. For added features this is the right thing to do as it will promote them to become normal features included in the new model. But features marked as removed would become included in the new model as well. We need to explicitly remove them as if they were never included in the model. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - new patch - replaces "cpu_x86: Copy added and removed features from ancestor" src/cpu/cpu_x86.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index 37f3b6e3ce..285b272ce8 100644 --- a/src/cpu/cpu_x86.c +++ b/src/cpu/cpu_x86.c @@ -161,7 +161,10 @@ struct _virCPUx86Model { virCPUx86Signatures *signatures; /* Inherited from ancestor */ virCPUx86Data data; - /* Not inherited from ancestor */ + + /* Not inherited from ancestor. + * The corresponding features are removed from the new model data. + */ GStrv removedFeatures; =20 /* Features added to the CPU model after its original version was rele= ased. @@ -172,7 +175,9 @@ struct _virCPUx86Model { * included in the CPU model by the hypervisor, but libvirt didn't sup= port * them when introducing the CPU model. In other words, they were enab= led, * but we ignored them. + * * Not inherited from ancestor. + * The corresponding features are a genuine part of the new model. */ GStrv addedFeatures; }; @@ -1542,6 +1547,7 @@ x86ModelParseAncestor(virCPUx86Model *model, g_autofree char *name =3D NULL; virCPUx86Model *ancestor; int rc; + char **removed; =20 if ((rc =3D virXPathBoolean("boolean(./model)", ctxt)) <=3D 0) return rc; @@ -1565,6 +1571,13 @@ x86ModelParseAncestor(virCPUx86Model *model, model->signatures =3D virCPUx86SignaturesCopy(ancestor->signatures); x86DataCopy(&model->data, &ancestor->data); =20 + for (removed =3D ancestor->removedFeatures; removed && *removed; remov= ed++) { + virCPUx86Feature *feat; + + if ((feat =3D x86FeatureFind(map, *removed))) + x86DataSubtract(&model->data, &feat->data); + } + return 0; } =20 --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311371555652.5486277249098; Fri, 22 Nov 2024 13:36:11 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id DD81414A3; Fri, 22 Nov 2024 16:36:10 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6FADC1641; Fri, 22 Nov 2024 16:33:57 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 2D413160B; Fri, 22 Nov 2024 16:33:52 -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 5A64D1612 for ; Fri, 22 Nov 2024 16:33:28 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-629-HyvEIWB1PtWp44R4pmVcDA-1; Fri, 22 Nov 2024 16:33:26 -0500 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C85041954233 for ; Fri, 22 Nov 2024 21:33:25 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4CCE11955F3E for ; Fri, 22 Nov 2024 21:33:25 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311208; h=from:from: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; bh=Y+IX/mbO0eHmyn+nfbYvymr69tKpf+J+zsq6gASzXvo=; b=f21/o3eiNjOtCXE153omHaNNlwmukUwR1p5RBBwbjR3/JSMyCDWSKicLCj0oIUoZjoI+Ur IiqpzEZY7O2zQjC0Smj0P47tIhQP94wV1qopqGFcrcpeT4aM09S1o7Wnxw2i4+IL6WP9KP EZy848XtkcTGpYAsG6Y+toEG51hFWz4= X-MC-Unique: HyvEIWB1PtWp44R4pmVcDA-1 X-Mimecast-MFC-AGG-ID: HyvEIWB1PtWp44R4pmVcDA From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 03/36] sync_qemu_features_i386: Add some removed features back Date: Fri, 22 Nov 2024 22:32:43 +0100 Message-ID: <086fbd8f47d2ed321b8819339c6518612b118b76.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: iacyrfmDS77iI7tGqtnD4TjAPWrER60wwGApskw4q9U_1732311205 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: YE26MI52CUDGK25Q6FYLYEJTRVEEZFAT X-Message-ID-Hash: YE26MI52CUDGK25Q6FYLYEJTRVEEZFAT X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311374015116600 Content-Type: text/plain; charset="utf-8" When removing features unknown to QEMU (they have a different name or are completely missing as they are not configurable by a user) I should not have removed them from the list of features unknown to QEMU in the script for synchronizing QEMU features to the CPU map. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - no change src/cpu_map/sync_qemu_features_i386.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/sync_qemu_features_i386.py b/src/cpu_map/sync_qemu= _features_i386.py index 15a7af85cb..21df37e9d6 100755 --- a/src/cpu_map/sync_qemu_features_i386.py +++ b/src/cpu_map/sync_qemu_features_i386.py @@ -70,6 +70,9 @@ FEATURES_EXTRA =3D { 18: "cvt16", }, (0x0000048c,): { + 8: "vmx-ept-uc", + 14: "vmx-ept-wb", + 41: "vmx-invvpid-single-context", # wrong name in qe= mu 43: "vmx-invvpid-single-context-noglobals", # wrong name in qe= mu } } --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311403475890.4814395205336; Fri, 22 Nov 2024 13:36:43 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id DB9381BF6; Fri, 22 Nov 2024 16:36:42 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id B0EF71646; Fri, 22 Nov 2024 16:34:01 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 462F3161F; Fri, 22 Nov 2024 16:33:56 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 0F6A5163D for ; Fri, 22 Nov 2024 16:33:31 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-244-DoozHoh6PnWkkDx17oGNIg-1; Fri, 22 Nov 2024 16:33:28 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 08ABF19560B0 for ; Fri, 22 Nov 2024 21:33:28 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 810571955F57 for ; Fri, 22 Nov 2024 21:33:27 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311210; h=from:from: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; bh=eK7Zw5AVK4Vj1+ivvUPzuIYpu9f6GDrat8eNjJmhQOE=; b=IGns4LrCilPnyXcvjLgtp69BT3R6X8G35xvtZzPeiE8LSUWR0Wd9ZV2AQ8ae9Xg22D4y2P isjPO3qSas9uaNGS/Updf5QNOoNFmSsua5BXhRYZFAYT3JLYcTysSEjEkZ6V/2rNefPiP2 /j2vYWuvo/owuU+EdppQf/T9XjKRCKE= X-MC-Unique: DoozHoh6PnWkkDx17oGNIg-1 X-Mimecast-MFC-AGG-ID: DoozHoh6PnWkkDx17oGNIg From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 04/36] sync_qemu_models_i386: Use f-strings Date: Fri, 22 Nov 2024 22:32:44 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: NOpQQJYuPe4mvKKbmdZFGmfDkYdTfNGCngzq9hlTO3k_1732311208 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: KU3XGCNJZMYX27NXAUNT7XZQGXPV6SJV X-Message-ID-Hash: KU3XGCNJZMYX27NXAUNT7XZQGXPV6SJV X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311405837116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - no change src/cpu_map/sync_qemu_models_i386.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 65ae031223..78c2bffab2 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -19,7 +19,7 @@ def translate_vendor(name): if name in T: return T[name] =20 - print("warning: Unknown vendor '{}'".format(name)) + print(f"warning: Unknown vendor '{name}'") return name =20 =20 @@ -318,7 +318,7 @@ def translate_feature(name): if name.replace("-", "_") =3D=3D v.replace("-", "_"): return v =20 - print("warning: Unknown feature '{}'".format(name)) + print(f"warning: Unknown feature '{name}'") return name =20 =20 @@ -484,17 +484,16 @@ def output_model(f, model): if model["extra"]: f.write("\n") =20 f.write("\n") - f.write(" \n".format(model["name"])) + f.write(f" \n") f.write(" \n") - f.write(" \n".format( - model["family"], model["model"])) - f.write(" \n".format(model["vendor"])) + f.write(f" \n") + f.write(f" \n") for feature in sorted(model["features"]): - f.write(" \n".format(feature)) + f.write(f" \n") f.write(" \n") f.write("\n") =20 @@ -535,7 +534,7 @@ def main(): models.extend(expand_model(model)) =20 for model in models: - name =3D os.path.join(args.outdir, "x86_{}.xml".format(model["name= "])) + name =3D os.path.join(args.outdir, f"x86_{model['name']}.xml") with open(name, "wt") as f: output_model(f, model) =20 @@ -550,10 +549,10 @@ def main(): unknown =3D [x for x in features if x not in known and x is not No= ne] except Exception as e: unknown =3D [] - print("warning: Unable to read libvirt x86_features.xml: {}".forma= t(e)) + print(f"warning: Unable to read libvirt x86_features.xml: {e}") =20 for x in unknown: - print("warning: Feature unknown to libvirt: {}".format(x)) + print(f"warning: Feature unknown to libvirt: {x}") =20 =20 if __name__ =3D=3D "__main__": --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311433576989.9111685462487; Fri, 22 Nov 2024 13:37:13 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id E93481B7A; Fri, 22 Nov 2024 16:37:12 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id DFB9C169F; Fri, 22 Nov 2024 16:34:03 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id C08ED1679; Fri, 22 Nov 2024 16:33:57 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 C8C6C164B for ; Fri, 22 Nov 2024 16:33:32 -0500 (EST) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-394-Tgt-jkjLNbKriA0ALoc0ZQ-1; Fri, 22 Nov 2024 16:33:30 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 013BE19560A6 for ; Fri, 22 Nov 2024 21:33:30 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 789C21955F57 for ; Fri, 22 Nov 2024 21:33:29 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311212; h=from:from: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; bh=X5ckyzjdEB50yJeSe6z/H/FHSQIGY1FoJveajRG3yks=; b=FioMdySOLqH5NHVNn189i8bHiD22g+Z0XR72zWiFjuMRjbSgnvRplpzdZUYPG7stDEocGG df25zvetnKv+9z7Iw1WWdczRYKT+2ajuM+h5hxPJXgEAgafSwWwzRpdkUdtVnSdh/ZMcoZ j+LawKuxgfn7BFo5jL17vVXDLgd+szM= X-MC-Unique: Tgt-jkjLNbKriA0ALoc0ZQ-1 X-Mimecast-MFC-AGG-ID: Tgt-jkjLNbKriA0ALoc0ZQ From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 05/36] sync_qemu_models_i386: Do not overwrite existing models Date: Fri, 22 Nov 2024 22:32:45 +0100 Message-ID: <2112701800d27d9efce5bbe109973c19f45ad4f1.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: qfWu6IHSzCOJKwQ2hxijQrsvfbqwEhPY3fork1BADiQ_1732311210 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 7THPW4UOIW7YKIEONLVSUJBEFVUFWZNT X-Message-ID-Hash: 7THPW4UOIW7YKIEONLVSUJBEFVUFWZNT X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311436165116600 Content-Type: text/plain; charset="utf-8" We don't change definitions of CPU models which were already included in a libvirt release to maintain migration compatibility. Thus the script can just skip existing models and save us from having to drop the changes it would do to them. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - no change src/cpu_map/sync_qemu_models_i386.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 78c2bffab2..f7b06a7716 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -535,6 +535,10 @@ def main(): =20 for model in models: name =3D os.path.join(args.outdir, f"x86_{model['name']}.xml") + if os.path.isfile(name): + # Ignore existing models as CPU models in libvirt should never + # change once released. + continue with open(name, "wt") as f: output_model(f, model) =20 --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311460068416.2244201393239; Fri, 22 Nov 2024 13:37:40 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 7921814A3; Fri, 22 Nov 2024 16:37:39 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 18C00165D; Fri, 22 Nov 2024 16:34:09 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 62E07169C; Fri, 22 Nov 2024 16:34:03 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 9D906146C for ; Fri, 22 Nov 2024 16:33:34 -0500 (EST) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-84-7URWGSW8PDi2YoJC3YxmRw-1; Fri, 22 Nov 2024 16:33:33 -0500 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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 mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 32C3A1955F42 for ; Fri, 22 Nov 2024 21:33:32 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id AA4511955E9E for ; Fri, 22 Nov 2024 21:33:31 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311214; h=from:from: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; bh=+tXnkGTjF+fx+XHmpwK9zvnH1IGgvSoyzqz35xo5iS4=; b=bVsoM9X2Wc5AkdPD6pHXifvXXFooIfjoD2w6KzfK8hK3stmZMkTahLb3RkOl5iOei2NsPm 6vD0iW77VuxbTxi+OKuGLfqKWszytyP/Izh7cPepQxdmxRqnGyee99ldKdHlSFY83AtYkm lNfZJty7n/mjsjj8EYNhg0DDE9HwqIs= X-MC-Unique: 7URWGSW8PDi2YoJC3YxmRw-1 X-Mimecast-MFC-AGG-ID: 7URWGSW8PDi2YoJC3YxmRw From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 06/36] sync_qemu_models_i386: Do not require full path to QEMU's cpu.c Date: Fri, 22 Nov 2024 22:32:46 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: NItn2-ylRcR30zOkqouf2O1NBg9aokNl0tr9CbAvH3E_1732311212 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: NTYDQYSHWTOGKBKSZIJH3NOPM6LA6MRY X-Message-ID-Hash: NTYDQYSHWTOGKBKSZIJH3NOPM6LA6MRY X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311462000116600 Content-Type: text/plain; charset="utf-8" While the script for synchronizing CPU features expects a path to QEMU source tree, this CPU model script insisted on getting a full patch to cpu.c file, even though it could easily deduce it from the path to QEMU source tree. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - no change src/cpu_map/sync_qemu_models_i386.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index f7b06a7716..13f62780e6 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -502,8 +502,8 @@ def main(): parser =3D argparse.ArgumentParser( description=3D"Synchronize x86 cpu models from QEMU i386 target.") parser.add_argument( - "cpufile", - help=3D"Path to 'target/i386/cpu.c' file in the QEMU repository", + "qemu", + help=3D"Path to QEMU source code", type=3Dos.path.realpath) parser.add_argument( "outdir", @@ -512,7 +512,12 @@ def main(): =20 args =3D parser.parse_args() =20 - builtin_x86_defs =3D read_builtin_x86_defs(args.cpufile) + cpufile =3D os.path.join(args.qemu, 'target/i386/cpu.c') + if not os.path.isfile(cpufile): + parser.print_help() + exit("QEMU source directory not found") + + builtin_x86_defs =3D read_builtin_x86_defs(cpufile) =20 ast =3D lark.Lark(r""" list: value ( "," value )* ","? --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311497097742.5287869299583; Fri, 22 Nov 2024 13:38:17 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 7C97AD90; Fri, 22 Nov 2024 16:38:16 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 03E5A16DD; Fri, 22 Nov 2024 16:34:22 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 301B8151B; Fri, 22 Nov 2024 16:34:17 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 28E88151B for ; Fri, 22 Nov 2024 16:33:37 -0500 (EST) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-160-d9prvvIMOuuQTVsYYqCYjg-1; Fri, 22 Nov 2024 16:33:35 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 29B891955F42 for ; Fri, 22 Nov 2024 21:33:34 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A1D9B1956086 for ; Fri, 22 Nov 2024 21:33:33 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311216; h=from:from: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; bh=ZpGGQYfuAreBh/yUdNdnY52ZJiCn52jxApQIKNiDDPU=; b=Nyw8zE7sHbfUIHZ4v2OEogCvShpXIGPstFC0Xh3kHSWDEvLhLAy6ILgiwKXiVWoYhfXGaH HBrA3qgy6qtUwJu1CRKic2wjTZ/QocWM3hbM660VTOCsnIX5Wx36Ed/6uDg/0HdspFS2KN LAy2inItv45WNRpF9fI8FkeFX5kr4TA= X-MC-Unique: d9prvvIMOuuQTVsYYqCYjg-1 X-Mimecast-MFC-AGG-ID: d9prvvIMOuuQTVsYYqCYjg From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 07/36] sync_qemu_models_i386: Add support for versioned CPU models Date: Fri, 22 Nov 2024 22:32:47 +0100 Message-ID: <788865cdbc2cb2b1d6e3629ed92178c5de98ed09.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: -hFu5s4IABnjUvBBTKs5jPw5tjEIzYDDzw6JZEFDA2c_1732311214 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: PQICLSKOXC42NVNROACAGGKOVLK4D3MT X-Message-ID-Hash: PQICLSKOXC42NVNROACAGGKOVLK4D3MT X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311498419116600 Content-Type: text/plain; charset="utf-8" Each CPU model with -v* suffix is defined as a standalone model copying all attributes of the previous version. CPU model versions with an alias are handled differently. The full definition is used for the alias and the versioned model is created as an identical copy of the alias. To avoid breaking migration compatibility of host-model CPUs all versioned models are marked with so that they are ignored when selecting candidates for host-model. It's not ideal but not doing so would break almost all host-model CPUs as the new versioned CPU models have all vmx-* features included since their introduction while existing CPU models were updated later. This meas existing models would be accompanied with a long list of vmx-* features to properly describe a host CPU while the newly added CPU models would have those features enabled implicitly and their list of features would be significantly shorter. Thus the new models would always be better candidates for host-model than the existing models. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - make -v? variants linked to their corresponding non-versioned models (such as -noTSX, -IBRS, etc.) - all -v? variants are marked with src/cpu_map/sync_qemu_models_i386.py | 44 ++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 13f62780e6..5169d50b08 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -454,11 +454,21 @@ def expand_model(model): versions =3D model.pop(".versions", []) for k, v in model.items(): result["extra"]["model" + k] =3D v + + print(result['name']) yield result =20 + name =3D result["name"] for version in versions: result =3D copy.deepcopy(result) - result["name"] =3D version.pop(".alias", result["name"]) + + ver =3D int(version.pop(".version")) + result["name"] =3D f"{name}-v{ver}" + result["base"] =3D name + + alias =3D version.pop(".alias", None) + if not alias and ver =3D=3D 1: + alias =3D name =20 props =3D version.pop(".props", dict()) for k, v in props: @@ -477,7 +487,24 @@ def expand_model(model): for k, v in version.items(): result["extra"]["version" + k] =3D v =20 - yield result + if alias: + print(f"v{ver}: {result['name']} =3D> {alias}") + yield { + "vendor": result["vendor"], + "name": result["name"], + "base": result["base"], + "alias": alias, + "extra": None, + "features": [], + } + + if ver !=3D 1: + result["name"] =3D alias + print(f"v{ver}: {result['name']}") + yield result + else: + print(f"v{ver}: {result['name']}") + yield result =20 =20 def output_model(f, model): @@ -487,11 +514,18 @@ def output_model(f, model): f.write(f" '{k}': '{v}'\n") f.write("-->\n") =20 + decode =3D "off" if "base" in model else "on" + f.write("\n") f.write(f" \n") - f.write(" \n") - f.write(f" \n") - f.write(f" \n") + f.write(f" \n") + + if "alias" in model: + f.write(f" \n") + else: + f.write(f" \n") + f.write(f" \n") + for feature in sorted(model["features"]): f.write(f" \n") f.write(" \n") --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311521290744.9792964315466; Fri, 22 Nov 2024 13:38:41 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id B900A1B4F; Fri, 22 Nov 2024 16:38:40 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id E258416E7; Fri, 22 Nov 2024 16:34:24 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 5F5751677; Fri, 22 Nov 2024 16:34:17 -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 AC9EA1539 for ; Fri, 22 Nov 2024 16:33:38 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-125-dToxbsPkM6ODLvoIHoUsDg-1; Fri, 22 Nov 2024 16:33:37 -0500 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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 mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5C5F71956083 for ; Fri, 22 Nov 2024 21:33:36 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D54DE19560A3 for ; Fri, 22 Nov 2024 21:33:35 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311218; h=from:from: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; bh=l46legtJX/u4WIg/CO8l/BVRbq1qkK77GhjtMZnG4Ys=; b=C4gX2P7Qh646DjVw8IQWjUztt9u9EuOhPsw3kOIJfuhJE6wzd2Czw1xbzm8lr4b/uCyDI5 CS5WKZdznxJPUtPAY9tyDOPK+y+I5GDhHoZBhdve0VLzgzwDxECJ3C9rwjySiPeNz/Pf0C qhAUghbcEMYVvLJsCVO8HNFVc5xG4bg= X-MC-Unique: dToxbsPkM6ODLvoIHoUsDg-1 X-Mimecast-MFC-AGG-ID: dToxbsPkM6ODLvoIHoUsDg From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 08/36] sync_qemu_models_i386: Store extra info in a separate file Date: Fri, 22 Nov 2024 22:32:48 +0100 Message-ID: <53966a909ad563d1cafb24fc189c5801d2c51c8b.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: F_NDgVbbvTW-B8eFsEL_bOyBOwiSaxa-lZzAEnFF3Kk_1732311216 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: LCCX4J5IF6AH4NU32VWUE7OQHFLTPLYV X-Message-ID-Hash: LCCX4J5IF6AH4NU32VWUE7OQHFLTPLYV X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311524530116600 Content-Type: text/plain; charset="utf-8" We don't really need or want the extra info to be included in the CPU model definitions in git, it's mostly useful for verifying the output of the script. Let's store it in a separate file rather than in a comment block of the CPU model definition itself. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - reworked to avoid breaking "sync_qemu_models_i386: Update index.xml" patch src/cpu_map/sync_qemu_models_i386.py | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 5169d50b08..58600bffe5 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -507,12 +507,13 @@ def expand_model(model): yield result =20 =20 -def output_model(f, model): +def output_model(f, extra, model): if model["extra"]: - f.write("\n") + with open(extra, "wt") as ex: + ex.write("# THIS FILE SHOULD NEVER BE ADDED TO A COMMIT\n") + ex.write("extra info from qemu:\n") + for k, v in model["extra"].items(): + ex.write(f" {k}: {v}\n") =20 decode =3D "off" if "base" in model else "on" =20 @@ -573,13 +574,17 @@ def main(): models.extend(expand_model(model)) =20 for model in models: - name =3D os.path.join(args.outdir, f"x86_{model['name']}.xml") - if os.path.isfile(name): + name =3D f"x86_{model['name']}.xml" + path =3D os.path.join(args.outdir, name) + + if os.path.isfile(path): # Ignore existing models as CPU models in libvirt should never # change once released. continue - with open(name, "wt") as f: - output_model(f, model) + + extra =3D os.path.join(args.outdir, f"x86_{model['name']}.extra") + with open(path, "wt") as f: + output_model(f, extra, model) =20 features =3D set() for model in models: --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311549983400.8093813069406; Fri, 22 Nov 2024 13:39:09 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 62678171E; Fri, 22 Nov 2024 16:39:09 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id AEA9A16D0; Fri, 22 Nov 2024 16:34:27 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 409431613; Fri, 22 Nov 2024 16:34:20 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 5CB98153E for ; Fri, 22 Nov 2024 16:33:41 -0500 (EST) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-658-X9INSVXPN0WfSMf6udmiaQ-1; Fri, 22 Nov 2024 16:33:39 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id CDFE81955F42 for ; Fri, 22 Nov 2024 21:33:38 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 510F01956086 for ; Fri, 22 Nov 2024 21:33:38 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311221; h=from:from: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; bh=Co2P7Lnt0NIXsNWdj5PHnUU0EBIvLZhE2N82erECutg=; b=M3E6tBTcoQ1TWfnj7b1Bi6R7yJBs1YUAu+TpU/EaU9kWdrQeVedvKBHwlmp1kaH5dA80q9 lhSD3HA64ITcirt8we/9o7f9IdV1AB7zgpm/FJhm92+NRQ7rQDmxoVhywKSLu0/1nF/CCW gQCRfQxh5QbpHfI9mftlltm1LdupJGw= X-MC-Unique: X9INSVXPN0WfSMf6udmiaQ-1 X-Mimecast-MFC-AGG-ID: X9INSVXPN0WfSMf6udmiaQ From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 09/36] sync_qemu_models_i386: Switch to lxml Date: Fri, 22 Nov 2024 22:32:49 +0100 Message-ID: <53a2bcb352dac1ba3057209bfe468d3faf3593c7.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: GSzi77mmBYXkvy5Zm0IxWD4Jz7Aehm61PaNpxDZTzyw_1732311218 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: F4NORTE5ZEN4UPSZWHPECTQ2ZUBEA4HP X-Message-ID-Hash: F4NORTE5ZEN4UPSZWHPECTQ2ZUBEA4HP X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311552452116600 Content-Type: text/plain; charset="utf-8" XMLs parse/format round trip using lxml results in an XML document that almost exactly matches the original (including comments). Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - no change src/cpu_map/sync_qemu_models_i386.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 58600bffe5..ce3c39de96 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -4,7 +4,7 @@ import argparse import copy import os import re -import xml.etree.ElementTree +import lxml.etree =20 import lark =20 @@ -592,7 +592,7 @@ def main(): =20 try: filename =3D os.path.join(args.outdir, "x86_features.xml") - dom =3D xml.etree.ElementTree.parse(filename) + dom =3D lxml.etree.parse(filename) known =3D [x.attrib["name"] for x in dom.getroot().iter("feature")] unknown =3D [x for x in features if x not in known and x is not No= ne] except Exception as e: --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311621766277.2497213167667; Fri, 22 Nov 2024 13:40:21 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 260D1169C; Fri, 22 Nov 2024 16:40:21 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id AC91515FA; Fri, 22 Nov 2024 16:34:31 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 5E3911621; Fri, 22 Nov 2024 16:34:21 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 A3C2415BA for ; Fri, 22 Nov 2024 16:33:43 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-156-ixoPvalYMKmlFfnvnGc45w-1; Fri, 22 Nov 2024 16:33:41 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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 mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0A363195608C for ; Fri, 22 Nov 2024 21:33:41 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 818DC30000DF for ; Fri, 22 Nov 2024 21:33:40 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311223; h=from:from: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; bh=1RR32Ss6Q3GGI7j0E8z6fyzgMRv1vsvv82gPc7ArGnw=; b=KlGQaOWo1yHnW/gixs8lO+BIBGnq7DvtbAws3q9/ox0X7ZBanwuQ0BQ3P4Epn1iJFV7R7g gGH/IShJcGJxkWE4+osDi2XVPl5k5Y/xelp6ovJXqRA6WsIooMRSCHsFGp93e0d8yMMcdc cqU4ZOZo2YIUcegvvMPMJ3AbO8siveg= X-MC-Unique: ixoPvalYMKmlFfnvnGc45w-1 X-Mimecast-MFC-AGG-ID: ixoPvalYMKmlFfnvnGc45w From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 10/36] cpu_map: Properly group models in index.xml Date: Fri, 22 Nov 2024 22:32:50 +0100 Message-ID: <49cb20e64c43905eff11a47d6bc454a159caf6ca.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 1MouHMt7hfngvrRra0AiGzGdpbOJnkxOSHyWXS2gVJw_1732311221 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: JW5CZOUSRPQN2LYGYHYMOFXHFJGL5F63 X-Message-ID-Hash: JW5CZOUSRPQN2LYGYHYMOFXHFJGL5F63 X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311622753116600 Content-Type: text/plain; charset="utf-8" We already visually group the included models using comments. This patch introduces a new element for doing it properly in a machine friendly way. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Best viewed with "git show -w". =20 Version 2: - use for all groups rather than a strange mix of and src/cpu/cpu_map.c | 2 +- src/cpu_map/index.xml | 226 ++++++++++++++++++++++-------------------- 2 files changed, 121 insertions(+), 107 deletions(-) diff --git a/src/cpu/cpu_map.c b/src/cpu/cpu_map.c index 16795a9a0a..83ebee16a8 100644 --- a/src/cpu/cpu_map.c +++ b/src/cpu/cpu_map.c @@ -116,7 +116,7 @@ loadIncludes(xmlXPathContextPtr ctxt, int n; size_t i; =20 - n =3D virXPathNodeSet("include", ctxt, &nodes); + n =3D virXPathNodeSet("include|group[@name]/include", ctxt, &nodes); if (n < 0) return -1; =20 diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 15cb63afe5..65128be377 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -3,122 +3,136 @@ =20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =20 =20 - - - - - - - - - - + + + + + + + + + + + + =20 =20 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311578743351.5391789666944; Fri, 22 Nov 2024 13:39:38 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 0965E13D0; Fri, 22 Nov 2024 16:39:37 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id BCF831705; Fri, 22 Nov 2024 16:34:29 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id D3CE81623; Fri, 22 Nov 2024 16:34:20 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 9E08E15B5 for ; Fri, 22 Nov 2024 16:33:45 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-346-Nj_CZtKPNdeuU5TpKkDalg-1; Fri, 22 Nov 2024 16:33:44 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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 mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2992A1954AF9 for ; Fri, 22 Nov 2024 21:33:43 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9751A3003CCA for ; Fri, 22 Nov 2024 21:33:42 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311225; h=from:from: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; bh=zdAUNDBhwPXMu283MPPL7y7oOZKCht/z1t++bChhnmQ=; b=dyowZTPWTt54jEp6TJSVQ43ZtsAFwa9VD7Hvh1yfEOzjhbSgkKCYwUpBjm9RF9kEKuVKOk BIe3D7kq4a/bMm3LuevzvJGRVVjpDGyKWC7Kf00SYdZCHqTMA8w0/bE2Flk2oTB6M8AHyl MkJPUKYtzgZC+OzOIHLu3cMksCpogto= X-MC-Unique: Nj_CZtKPNdeuU5TpKkDalg-1 X-Mimecast-MFC-AGG-ID: Nj_CZtKPNdeuU5TpKkDalg From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 11/36] sync_qemu_models_i386: Update index.xml Date: Fri, 22 Nov 2024 22:32:51 +0100 Message-ID: <031ed4e84a1c531f337bcea70751d54ce47f6981.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: AbFqhy-J0OoDEr9jTvjFcGjrGajcniupoPa58LDo5FA_1732311223 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: RELS6RLIGJ4CLYVTT2TBUZHZWCNBMPSM X-Message-ID-Hash: RELS6RLIGJ4CLYVTT2TBUZHZWCNBMPSM X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311580625116600 Content-Type: text/plain; charset="utf-8" Add all newly generated CPU models to the appropriate section of index.xml. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - use instead of src/cpu_map/sync_qemu_models_i386.py | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index ce3c39de96..024bc92f07 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -533,6 +533,35 @@ def output_model(f, extra, model): f.write("\n") =20 =20 +def update_index(outdir, models): + index =3D os.path.join(outdir, "index.xml") + xml =3D lxml.etree.parse(index) + + for vendor, files in models.items(): + groups =3D xml.xpath(f"//arch[@name=3D'x86']/group[@name=3D'{vendo= r} CPU models']") + if not groups: + continue + + group =3D groups[-1] + last =3D group.getchildren()[-1] + group_indent =3D last.tail + indent =3D f"{group_indent} " + last.tail =3D indent + + for file in files: + include =3D lxml.etree.SubElement(group, "include", filename= =3Dfile) + include.tail =3D indent + + group.getchildren()[-1].tail =3D group_indent + + out =3D lxml.etree.tostring(xml, encoding=3D"UTF-8") + out =3D out.decode("UTF-8").replace('"', "'") + + with open(index, "w") as f: + f.write(out) + f.write("\n") + + def main(): parser =3D argparse.ArgumentParser( description=3D"Synchronize x86 cpu models from QEMU i386 target.") @@ -573,6 +602,8 @@ def main(): for model in models_json: models.extend(expand_model(model)) =20 + files =3D dict() + for model in models: name =3D f"x86_{model['name']}.xml" path =3D os.path.join(args.outdir, name) @@ -582,10 +613,18 @@ def main(): # change once released. continue =20 + vendor =3D model['vendor'] + if vendor: + if vendor not in files: + files[vendor] =3D [] + files[vendor].append(name) + extra =3D os.path.join(args.outdir, f"x86_{model['name']}.extra") with open(path, "wt") as f: output_model(f, extra, model) =20 + update_index(args.outdir, files) + features =3D set() for model in models: features.update(model["features"]) --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311647798919.3064770195022; Fri, 22 Nov 2024 13:40:47 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 260FB15B1; Fri, 22 Nov 2024 16:40:47 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 9C4291536; Fri, 22 Nov 2024 16:34:34 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 65B1E139E; Fri, 22 Nov 2024 16:34:23 -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 EBED01660 for ; Fri, 22 Nov 2024 16:33:47 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-619-z-sfE0CtPY6NVNXBHYmjnA-1; Fri, 22 Nov 2024 16:33:46 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 60A2F19773FF for ; Fri, 22 Nov 2024 21:33:45 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D35FB196BC20 for ; Fri, 22 Nov 2024 21:33:44 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311227; h=from:from: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; bh=t9auH4KdiFuk3BpEkvfAM3tLn2GHvIjD48Ux3oHgQEo=; b=TEATp8Bvs+kwfo0aZZIZ+UZB7xIwuqJOv21MxRLQKwwb7KhwyqbV4Xp+YSbmY7n+s1E9tm ji4BaD9vOtmXJc8TTDCY7rm4/UBOTXPeLcJ5upCWD5S/jZEaBTseVhPqNT+2NReBI9G6u7 2sjKTciYzmYdBYQv+6XrYS+eQ7LW8Qw= X-MC-Unique: z-sfE0CtPY6NVNXBHYmjnA-1 X-Mimecast-MFC-AGG-ID: z-sfE0CtPY6NVNXBHYmjnA From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 12/36] sync_qemu_models_i386: Copy signatures from base model Date: Fri, 22 Nov 2024 22:32:52 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: toBuN2GEf41D-0cJwqcDsG2XGYg8sN0JsxAUl47rHtw_1732311225 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: EZOMS223COPIDTAUGEWTFHEVOHOPUFGN X-Message-ID-Hash: EZOMS223COPIDTAUGEWTFHEVOHOPUFGN X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311648937116600 Content-Type: text/plain; charset="utf-8" The signatures in the CPU map are used for matching physical CPUs and thus we need to cover all possible real world variants we know about. When adding a new version of an existing CPU model, we should copy the signature(s) of the existing model rather than replacing it with the signature that QEMU uses. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - no change src/cpu_map/sync_qemu_models_i386.py | 46 ++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 6 deletions(-) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 024bc92f07..798d767f4d 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -429,7 +429,30 @@ def transform(item): raise RuntimeError("unexpected item type") =20 =20 -def expand_model(model): +def get_signature(outdir, model): + file =3D os.path.join(outdir, f"x86_{model}.xml") + + if not os.path.isfile(file): + return None + + xml =3D lxml.etree.parse(file) + + signature =3D [] + for sig in xml.xpath("//signature"): + attr =3D sig.attrib + family =3D attr["family"] + model =3D attr["model"] + if "stepping" in attr: + stepping =3D attr["stepping"] + else: + stepping =3D None + + signature.append((family, model, stepping)) + + return signature + + +def expand_model(outdir, model): """Expand a qemu cpu model description that has its feature split up i= nto different fields and may have differing versions into several libvirt- friendly cpu models.""" @@ -438,11 +461,14 @@ def expand_model(model): "name": model.pop(".name"), "vendor": translate_vendor(model.pop(".vendor")), "features": set(), - "extra": dict()} + "extra": dict(), + "signature": list(), + } =20 if ".family" in model and ".model" in model: - result["family"] =3D model.pop(".family") - result["model"] =3D model.pop(".model") + result["signature"].append((model.pop(".family"), + model.pop(".model"), + None)) =20 for k in [k for k in model if k.startswith(".features")]: v =3D model.pop(k) @@ -470,6 +496,10 @@ def expand_model(model): if not alias and ver =3D=3D 1: alias =3D name =20 + sig =3D get_signature(outdir, name) + if sig: + result["signature"] =3D sig + props =3D version.pop(".props", dict()) for k, v in props: if k not in ("model-id", "stepping", "model"): @@ -524,7 +554,11 @@ def output_model(f, extra, model): if "alias" in model: f.write(f" \n") else: - f.write(f" \n") + for sig_family, sig_model, sig_stepping in model['signature']: + f.write(f" \n") f.write(f" \n") =20 for feature in sorted(model["features"]): @@ -600,7 +634,7 @@ def main(): =20 models =3D list() for model in models_json: - models.extend(expand_model(model)) + models.extend(expand_model(args.outdir, model)) =20 files =3D dict() =20 --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311693238672.1019294157709; Fri, 22 Nov 2024 13:41:33 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id A4369164A; Fri, 22 Nov 2024 16:41:32 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6DC3616DA; Fri, 22 Nov 2024 16:34:37 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 766C21528; Fri, 22 Nov 2024 16:34:27 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 02CE21651 for ; Fri, 22 Nov 2024 16:33:49 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-488-e9Juq9FTPPusrQaIcs6nYw-1; Fri, 22 Nov 2024 16:33:48 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7820A197732C for ; Fri, 22 Nov 2024 21:33:47 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id F0BA81955F43 for ; Fri, 22 Nov 2024 21:33:46 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311229; h=from:from: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; bh=/cKdd23sU5NzwA755HuxzWdOKgD3z/GC75cU3K2vXg0=; b=KjHKvqcWReFhp2eDeUJVNBpLJXxGhuJ5iCYCrv2Z+eEc4fdMsN6OwTgPKebGnEfAUcaah6 id5kB9rzwkTla63iLr/8V0mm+Qd0lCtVIx49cu59teJpZuZBjaz9brV8JY2MMj7MAoGZqF RiYsw2maB50w+BI9QN9hpe6uqfHA4T4= X-MC-Unique: e9Juq9FTPPusrQaIcs6nYw-1 X-Mimecast-MFC-AGG-ID: e9Juq9FTPPusrQaIcs6nYw From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 13/36] cpu_x86: Record relations between CPU models Date: Fri, 22 Nov 2024 22:32:53 +0100 Message-ID: <43cb30cd1998667f1b59606dfd1c1a0704b96617.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: r9TIvlCdT61YW5aNXvNAsciIlNcpajpR0IaXqAadhM8_1732311227 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: LQ2ZHVMW7VFUZNVWFPGAVOJVCELS75L6 X-Message-ID-Hash: LQ2ZHVMW7VFUZNVWFPGAVOJVCELS75L6 X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311695132116600 Content-Type: text/plain; charset="utf-8" Record a fact a specific CPU model was derived from another one. The original model is also marked as an alias of the new one in case it did not change any properties of the original CPU. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - new patch src/cpu/cpu_x86.c | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index 285b272ce8..ce3506be55 100644 --- a/src/cpu/cpu_x86.c +++ b/src/cpu/cpu_x86.c @@ -180,6 +180,17 @@ struct _virCPUx86Model { * The corresponding features are a genuine part of the new model. */ GStrv addedFeatures; + + /* Pinter to the model this one was derived from. */ + virCPUx86Model *ancestor; + + /* Pointer to the canonical model if this model is just an alias. + * Because the aliases were actually added to the CPU map before their + * canonical models, we store this relation in the XML reversed. That = is, + * this model contains all the data and the canonical model is defined + * using this model as an ancestor without adding any additional data. + */ + const virCPUx86Model *canonical; }; =20 typedef struct _virCPUx86Map virCPUx86Map; @@ -1567,6 +1578,7 @@ x86ModelParseAncestor(virCPUx86Model *model, return -1; } =20 + model->ancestor =3D ancestor; model->vendor =3D ancestor->vendor; model->signatures =3D virCPUx86SignaturesCopy(ancestor->signatures); x86DataCopy(&model->data, &ancestor->data); @@ -1582,9 +1594,11 @@ x86ModelParseAncestor(virCPUx86Model *model, } =20 =20 +/* Updates @changed if signatures are set. */ static int x86ModelParseSignatures(virCPUx86Model *model, - xmlXPathContextPtr ctxt) + xmlXPathContextPtr ctxt, + bool *changed) { g_autofree xmlNodePtr *nodes =3D NULL; VIR_XPATH_NODE_AUTORESTORE(ctxt) @@ -1628,14 +1642,17 @@ x86ModelParseSignatures(virCPUx86Model *model, return -1; } =20 + *changed =3D true; return 0; } =20 =20 +/* Updates @changed if vendor changes. */ static int x86ModelParseVendor(virCPUx86Model *model, xmlXPathContextPtr ctxt, - virCPUx86Map *map) + virCPUx86Map *map, + bool *changed) { g_autofree char *vendor =3D NULL; int rc; @@ -1658,14 +1675,17 @@ x86ModelParseVendor(virCPUx86Model *model, return -1; } =20 + *changed =3D true; return 0; } =20 =20 +/* Updates @changed if features are added. */ static int x86ModelParseFeatures(virCPUx86Model *model, xmlXPathContextPtr ctxt, - virCPUx86Map *map) + virCPUx86Map *map, + bool *changed) { g_autofree xmlNodePtr *nodes =3D NULL; size_t i; @@ -1725,6 +1745,7 @@ x86ModelParseFeatures(virCPUx86Model *model, model->removedFeatures =3D g_renew(char *, model->removedFeatures, nre= moved + 1); model->addedFeatures =3D g_renew(char *, model->addedFeatures, nadded = + 1); =20 + *changed =3D true; return 0; } =20 @@ -1736,6 +1757,7 @@ x86ModelParse(xmlXPathContextPtr ctxt, { virCPUx86Map *map =3D data; g_autoptr(virCPUx86Model) model =3D NULL; + bool changed =3D false; =20 if (x86ModelFind(map, name)) { virReportError(VIR_ERR_INTERNAL_ERROR, @@ -1755,15 +1777,28 @@ x86ModelParse(xmlXPathContextPtr ctxt, if (x86ModelParseAncestor(model, ctxt, map) < 0) return -1; =20 - if (x86ModelParseSignatures(model, ctxt) < 0) + if (x86ModelParseSignatures(model, ctxt, &changed) < 0) return -1; =20 - if (x86ModelParseVendor(model, ctxt, map) < 0) + if (x86ModelParseVendor(model, ctxt, map, &changed) < 0) return -1; =20 - if (x86ModelParseFeatures(model, ctxt, map) < 0) + if (x86ModelParseFeatures(model, ctxt, map, &changed) < 0) return -1; =20 + if (model->ancestor && !changed) { + if (model->ancestor->canonical) { + virReportError(VIR_ERR_INTERNAL_ERROR, + _("Cannot set CPU model '%1$s' as canonical nam= e of '%2$s' which is already an alias of '%3$s'"), + model->name, + model->ancestor->name, + model->ancestor->canonical->name); + return -1; + } + + model->ancestor->canonical =3D model; + } + VIR_APPEND_ELEMENT(map->models, map->nmodels, model); =20 return 0; --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311725791568.9031907421798; Fri, 22 Nov 2024 13:42:05 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 352DA1B89; Fri, 22 Nov 2024 16:42:05 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id A28DD168A; Fri, 22 Nov 2024 16:34:39 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 85CC21528; Fri, 22 Nov 2024 16:34:27 -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 32D641612 for ; Fri, 22 Nov 2024 16:33:52 -0500 (EST) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-377-5MOixibWM267gMPOc1Fp-A-1; Fri, 22 Nov 2024 16:33:50 -0500 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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 mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A9FB219560BE for ; Fri, 22 Nov 2024 21:33:49 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 2E1511955E9E for ; Fri, 22 Nov 2024 21:33:48 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311231; h=from:from: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; bh=riP+isETdWjewONRlRCCbWlhfqxvgka915Z/bTdGEx8=; b=MvQ6q+1trVEXhEwyqSoY6Ds/fQHmhN969adX/el9QlRwaoz3FRNgRvXpx4L2eIxAhEq1UR hJRJIAnY9ZCXvFv7bUst2iZxxE6Bh/zG2uy0D4r4fYKxSQiBaiLP55AD8bkKMFmbEeXH9j zsaLkJcXGRVIdPcHDcg2OOIIwB/6zdM= X-MC-Unique: 5MOixibWM267gMPOc1Fp-A-1 X-Mimecast-MFC-AGG-ID: 5MOixibWM267gMPOc1Fp-A From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 14/36] cpu: Introduce virCPUGetCanonicalModel Date: Fri, 22 Nov 2024 22:32:54 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Jou3_1ACU_D2ePO-GJHpxdNAM5_fLbzTa0NL2whQAoY_1732311229 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: UO3SFMUDVFNJHA7NT2O3LX4FYYAR3ZT4 X-Message-ID-Hash: UO3SFMUDVFNJHA7NT2O3LX4FYYAR3ZT4 X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311727155116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - new patch src/cpu/cpu.c | 25 +++++++++++++++++++++++++ src/cpu/cpu.h | 8 ++++++++ src/cpu/cpu_x86.c | 19 +++++++++++++++++++ src/libvirt_private.syms | 1 + 4 files changed, 53 insertions(+) diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c index 2b0d641e78..ef515744ba 100644 --- a/src/cpu/cpu.c +++ b/src/cpu/cpu.c @@ -1345,6 +1345,31 @@ virCPUGetCheckMode(virArch arch, } =20 =20 +/** virCPUGetCanonicalModel: + * + * @arch: CPU architecture + * @model: CPU model to be checked + * + * Returns @model's canonical name if @model is an alias or NULL otherwise. + */ +const char * +virCPUGetCanonicalModel(virArch arch, + const char *model) +{ + struct cpuArchDriver *driver; + + VIR_DEBUG("arch=3D%s model=3D%s", virArchToString(arch), model); + + if (!(driver =3D cpuGetSubDriver(arch))) + return NULL; + + if (!driver->getCanonicalModel) + return NULL; + + return driver->getCanonicalModel(model); +} + + /** * virCPUArchIsSupported: * diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h index ff68c5da2d..fc6a812eaa 100644 --- a/src/cpu/cpu.h +++ b/src/cpu/cpu.h @@ -140,6 +140,9 @@ typedef int (*virCPUArchGetCheckMode)(const char *modelName, bool *compat); =20 +typedef const char * +(*virCPUArchGetCanonicalModel)(const char *model); + struct cpuArchDriver { const char *name; const virArch *arch; @@ -168,6 +171,7 @@ struct cpuArchDriver { virCPUArchDataIsIdentical dataIsIdentical; virCPUArchDataGetHost dataGetHost; virCPUArchGetCheckMode getCheckMode; + virCPUArchGetCanonicalModel getCanonicalModel; }; =20 =20 @@ -324,6 +328,10 @@ virCPUGetCheckMode(virArch arch, const virCPUDef *cpu, bool *compat); =20 +const char * +virCPUGetCanonicalModel(virArch arch, + const char *model); + bool virCPUArchIsSupported(virArch arch); =20 diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index ce3506be55..13695802da 100644 --- a/src/cpu/cpu_x86.c +++ b/src/cpu/cpu_x86.c @@ -3697,6 +3697,24 @@ virCPUx86GetCheckMode(const char *modelName, } =20 =20 +static const char * +virCPUx86GetCanonicalModel(const char *modelName) +{ + virCPUx86Map *map; + virCPUx86Model *model; + + if (!(map =3D virCPUx86GetMap())) + return NULL; + + model =3D x86ModelFind(map, modelName); + + if (!model || !model->canonical) + return NULL; + + return model->canonical->name; +} + + struct cpuArchDriver cpuDriverX86 =3D { .name =3D "x86", .arch =3D archs, @@ -3730,4 +3748,5 @@ struct cpuArchDriver cpuDriverX86 =3D { .dataGetHost =3D virCPUx86DataGetHost, #endif .getCheckMode =3D virCPUx86GetCheckMode, + .getCanonicalModel =3D virCPUx86GetCanonicalModel, }; diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index 5b9b44ef96..2a9d3230e1 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -1543,6 +1543,7 @@ virCPUDataNewCopy; virCPUDataParse; virCPUDataParseNode; virCPUExpandFeatures; +virCPUGetCanonicalModel; virCPUGetCheckMode; virCPUGetHost; virCPUGetHostIsSupported; --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 17323117628441019.4812406843371; Fri, 22 Nov 2024 13:42:42 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 472621536; Fri, 22 Nov 2024 16:42:42 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 8080F156B; Fri, 22 Nov 2024 16:34:41 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id AC8DB14BD; Fri, 22 Nov 2024 16:34:31 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 1835E161C for ; Fri, 22 Nov 2024 16:33:54 -0500 (EST) Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-498-klvEBBUrOyOiOGtgutxInA-1; Fri, 22 Nov 2024 16:33:52 -0500 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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 mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A1F8E19541A1 for ; Fri, 22 Nov 2024 21:33:51 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 251D41955D44 for ; Fri, 22 Nov 2024 21:33:50 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311233; h=from:from: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; bh=QfeEdhUKYI1btXahgIi7iObxAtutXzY0Y8J59S7Qvog=; b=IlRwGaBNS7nBH81gZM+BqdDP5LWUPQ0Qkzn4NkP+t2FkrVrlxMq2w/ruKKhwFP1IyjAqMC hyvrF07k/cILll22tZa3l16kBMRJvUElApmHVRW+DqCiy7VUScB1Zqeu8TPB576GYhzsGK wKLdx3XFHZb2aiNLIgsLtATZhUZ/9g0= X-MC-Unique: klvEBBUrOyOiOGtgutxInA-1 X-Mimecast-MFC-AGG-ID: klvEBBUrOyOiOGtgutxInA From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 15/36] domain_capabilities: Report canonical names of CPU models Date: Fri, 22 Nov 2024 22:32:55 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: vQlwDx0QMWFDChTQZozahOHqvE-PIT8-Wqtdid1RW8s_1732311231 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: P6HI5W2ZRRW6FKTX3C7WY7HMSSMANWBB X-Message-ID-Hash: P6HI5W2ZRRW6FKTX3C7WY7HMSSMANWBB X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311765340116600 Content-Type: text/plain; charset="utf-8" Some models are just aliases to other models. Make this relation available to users via domain capabilities. Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - new patch docs/formatdomaincaps.rst | 8 +++++--- src/conf/domain_capabilities.c | 11 +++++++++-- src/conf/domain_capabilities.h | 4 +++- src/qemu/qemu_capabilities.c | 10 +++++++--- tests/cputest.c | 5 +++-- 5 files changed, 27 insertions(+), 11 deletions(-) diff --git a/docs/formatdomaincaps.rst b/docs/formatdomaincaps.rst index 886a9f71e1..ed95af4fee 100644 --- a/docs/formatdomaincaps.rst +++ b/docs/formatdomaincaps.rst @@ -193,12 +193,12 @@ CPUs `__. - Broadwell= + Broadwell - Broadwel= l-noTSX + Broadwell-noTSX EPYC-Milan<= /model> @@ -265,7 +265,9 @@ more details about it: the hypervisor's policy on usage of this model :since:`(since 7.1.0)`. = The ``vendor`` attribute :since:`(since 8.9.0)` contains the vendor of the = CPU model for users who want to use CPU models with specific vendors only. = CPU - models with undefined vendor will be listed with ``vendor=3D'unkwnown'`= `. + models with undefined vendor will be listed with ``vendor=3D'unkwnown'`= `. The + ``canonical`` attribute :since:`(since 10.10.0)` contains a canonical n= ame of + the CPU model if the model is actually an alias to another one. =20 I/O Threads ~~~~~~~~~~~ diff --git a/src/conf/domain_capabilities.c b/src/conf/domain_capabilities.c index 5f70a48cec..ab715b19d8 100644 --- a/src/conf/domain_capabilities.c +++ b/src/conf/domain_capabilities.c @@ -122,6 +122,7 @@ virDomainCapsCPUModelsDispose(void *obj) g_free(cpuModels->models[i].name); g_strfreev(cpuModels->models[i].blockers); g_free(cpuModels->models[i].vendor); + g_free(cpuModels->models[i].canonical); } =20 g_free(cpuModels->models); @@ -184,7 +185,8 @@ virDomainCapsCPUModelsCopy(virDomainCapsCPUModels *old) old->models[i].usable, old->models[i].blockers, old->models[i].deprecated, - old->models[i].vendor); + old->models[i].vendor, + old->models[i].canonical); } =20 return cpuModels; @@ -197,7 +199,8 @@ virDomainCapsCPUModelsAdd(virDomainCapsCPUModels *cpuMo= dels, virDomainCapsCPUUsable usable, char **blockers, bool deprecated, - const char *vendor) + const char *vendor, + const char *canonical) { virDomainCapsCPUModel *cpu; =20 @@ -212,6 +215,7 @@ virDomainCapsCPUModelsAdd(virDomainCapsCPUModels *cpuMo= dels, cpu->blockers =3D g_strdupv(blockers); cpu->deprecated =3D deprecated; cpu->vendor =3D g_strdup(vendor); + cpu->canonical =3D g_strdup(canonical); } =20 =20 @@ -430,6 +434,9 @@ virDomainCapsCPUCustomFormat(virBuffer *buf, else virBufferAddLit(buf, " vendor=3D'unknown'"); =20 + if (model->canonical) + virBufferAsprintf(buf, " canonical=3D'%s'", model->canonical); + virBufferAsprintf(buf, ">%s\n", model->name); =20 if (model->blockers) { diff --git a/src/conf/domain_capabilities.h b/src/conf/domain_capabilities.h index ef08046860..69dd1a15c1 100644 --- a/src/conf/domain_capabilities.h +++ b/src/conf/domain_capabilities.h @@ -189,6 +189,7 @@ struct _virDomainCapsCPUModel { char **blockers; /* NULL-terminated list of usability blockers */ bool deprecated; char *vendor; + char *canonical; }; =20 typedef struct _virDomainCapsCPUModels virDomainCapsCPUModels; @@ -331,7 +332,8 @@ virDomainCapsCPUModelsAdd(virDomainCapsCPUModels *cpuMo= dels, virDomainCapsCPUUsable usable, char **blockers, bool deprecated, - const char *vendor); + const char *vendor, + const char *canonical); virDomainCapsCPUModel * virDomainCapsCPUModelsGet(virDomainCapsCPUModels *cpuModels, const char *name); diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 5ac9f306f5..dec3199fce 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -2144,7 +2144,7 @@ virQEMUCapsCPUDefsToModels(virArch arch, qemuMonitorCPUDefs *defs, const char **modelAllowed, const char **modelForbidden, - bool vendors) + bool extraInfo) { virDomainCapsCPUModels *cpuModels =3D NULL; size_t i; @@ -2155,6 +2155,7 @@ virQEMUCapsCPUDefsToModels(virArch arch, for (i =3D 0; i < defs->ncpus; i++) { qemuMonitorCPUDefInfo *cpu =3D defs->cpus + i; const char *vendor =3D NULL; + const char *canonical =3D NULL; =20 if (modelAllowed && !g_strv_contains(modelAllowed, cpu->name)) continue; @@ -2162,11 +2163,14 @@ virQEMUCapsCPUDefsToModels(virArch arch, if (modelForbidden && g_strv_contains(modelForbidden, cpu->name)) continue; =20 - if (vendors) + if (extraInfo) { vendor =3D virCPUGetVendorForModel(arch, cpu->name); + canonical =3D virCPUGetCanonicalModel(arch, cpu->name); + } =20 virDomainCapsCPUModelsAdd(cpuModels, cpu->name, cpu->usable, - cpu->blockers, cpu->deprecated, vendor); + cpu->blockers, cpu->deprecated, + vendor, canonical); } =20 virDomainCapsCPUModelsSort(cpuModels); diff --git a/tests/cputest.c b/tests/cputest.c index 32bf86997a..326ffebd09 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -823,7 +823,8 @@ cpuTestUpdateLive(const void *arg) } =20 virDomainCapsCPUModelsAdd(models, expected->model, - usable, blockers, false, expected->vendo= r); + usable, blockers, false, + expected->vendor, NULL); =20 cpu->fallback =3D VIR_CPU_FALLBACK_ALLOW; ignore_value(virCPUTranslate(data->arch, cpu, models)); @@ -902,7 +903,7 @@ cpuTestInitModels(const char **list) for (model =3D list; *model; model++) { virDomainCapsCPUModelsAdd(cpus, *model, VIR_DOMCAPS_CPU_USABLE_UNKNOWN, - NULL, false, NULL); + NULL, false, NULL, NULL); } =20 return cpus; --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311807257830.0228045751944; Fri, 22 Nov 2024 13:43:27 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 891E91BAE; Fri, 22 Nov 2024 16:43:26 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6E94E1733; Fri, 22 Nov 2024 16:34:45 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 52177141E; Fri, 22 Nov 2024 16:34:32 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 40984141E for ; Fri, 22 Nov 2024 16:33:56 -0500 (EST) Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-138-cwylIvohOaG4gG_0U7tEMg-1; Fri, 22 Nov 2024 16:33:54 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BBC7C1953940 for ; Fri, 22 Nov 2024 21:33:53 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 3F5D01956086 for ; Fri, 22 Nov 2024 21:33:53 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311235; h=from:from: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; bh=h4rpDohVHduSHlWMbxt9PbzQShqBhzTeYGCOh0mUAWc=; b=BYxIm2wCQNWmXOnFyJZFxfuFunJHA2lweJ1ESbAAiY7xnRMwykumIbzMCgUqzESOsqBoKD M9B70xr0DDMcJaWRBuYoEKkJMEa6VS+mxjff/K5tAMM6HrylPaXbsXr9xwKActAP9ktZt2 o586yFuganooiYzeQI39OlylvOOSu2c= X-MC-Unique: cwylIvohOaG4gG_0U7tEMg-1 X-Mimecast-MFC-AGG-ID: cwylIvohOaG4gG_0U7tEMg From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 16/36] cpu_map: Add versions of SierraForest CPU model Date: Fri, 22 Nov 2024 22:32:56 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: ruc7aJIENnv8QM1op_BIzK28hiGYjQL64lWPjSCAAz4_1732311233 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: YER4QI5HA53RTYGJRKCDWVTYHVJLW5QH X-Message-ID-Hash: YER4QI5HA53RTYGJRKCDWVTYHVJLW5QH X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311809491116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - allow versioned models to be used in host capabilities - canonical CPU models in domain capabilities src/cpu_map/index.xml | 1 + src/cpu_map/meson.build | 1 + src/cpu_map/x86_SierraForest-v1.xml | 6 ++++ .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 29 ++++++++++++++++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 22 +++++++++++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 29 ++++++++++++++++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 29 ++++++++++++++++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 22 +++++++++++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 29 ++++++++++++++++++- 9 files changed, 162 insertions(+), 6 deletions(-) create mode 100644 src/cpu_map/x86_SierraForest-v1.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 65128be377..43f4f705a8 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -62,6 +62,7 @@ + =20 diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index 20f5dbc47e..d5d1f847ec 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -75,6 +75,7 @@ cpumap_data =3D [ 'x86_SandyBridge-IBRS.xml', 'x86_SandyBridge.xml', 'x86_SapphireRapids.xml', + 'x86_SierraForest-v1.xml', 'x86_SierraForest.xml', 'x86_Skylake-Client-IBRS.xml', 'x86_Skylake-Client-noTSX-IBRS.xml', diff --git a/src/cpu_map/x86_SierraForest-v1.xml b/src/cpu_map/x86_SierraFo= rest-v1.xml new file mode 100644 index 0000000000..74b0a4c537 --- /dev/null +++ b/src/cpu_map/x86_SierraForest-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-q35.x86_64.xml index 945e783a25..6a8dd51f2b 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -407,7 +407,7 @@ - SierraForest + = SierraForest @@ -434,6 +434,33 @@ + SierraForest-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-tcg.x86_64.xml index 9ad8eca845..08464d2709 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -451,7 +451,7 @@ - SierraForest + = SierraForest @@ -471,6 +471,26 @@ + SierraForest-v1 + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.1.0.x86_64.xml index 0a131bb151..773f068c69 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -406,7 +406,7 @@ - SierraForest + = SierraForest @@ -433,6 +433,33 @@ + SierraForest-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index 64c8416672..88f3b5208f 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -407,7 +407,7 @@ - SierraForest + = SierraForest @@ -434,6 +434,33 @@ + SierraForest-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-tcg.x86_64.xml index 8a4fc13443..419147fc14 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -451,7 +451,7 @@ - SierraForest + = SierraForest @@ -471,6 +471,26 @@ + SierraForest-v1 + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index 00f3b78e7e..79ba1bc5fc 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -406,7 +406,7 @@ - SierraForest + = SierraForest @@ -433,6 +433,33 @@ + SierraForest-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732312008267106.55837635241448; Fri, 22 Nov 2024 13:46:48 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 7B0521706; Fri, 22 Nov 2024 16:46:47 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 5C40D1764; Fri, 22 Nov 2024 16:34:50 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id A4FB9158D; Fri, 22 Nov 2024 16:34:35 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 D96DA161F for ; Fri, 22 Nov 2024 16:33:58 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-252-hCgLakCLOPCQS50RGCpfYQ-1; Fri, 22 Nov 2024 16:33:56 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id F08031955F69 for ; Fri, 22 Nov 2024 21:33:55 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 376AF1956086 for ; Fri, 22 Nov 2024 21:33:54 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311238; h=from:from: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; bh=8eAgEQWNRD7VqJ2DZfelFAM6dMzNlOBp8QTNbcw600Y=; b=PeobpKtTR3H/kL760sM1LQ27Ne6tq+OJMArnxTpN56cVrsWWxbZ8jTlaihPqWN/jWAtsmX 3385K4le3jYgoM0yjllqHbbmAJc5E7UmflcyhIyJ6ek2U/ndzV2RC4EbnEH2ZA4xWFFKUp swcMYZ6eVf1v6YP4uctUzMrOPp2TnmQ= X-MC-Unique: hCgLakCLOPCQS50RGCpfYQ-1 X-Mimecast-MFC-AGG-ID: hCgLakCLOPCQS50RGCpfYQ From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 17/36] cpu_map: Add versions of GraniteRapids CPU model Date: Fri, 22 Nov 2024 22:32:57 +0100 Message-ID: <32fef01818a086524034b335a8386c6a81b4214d.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: oguFih_eUqKI8oJCf5EzlzFlTxYOnn1Woj3h6k0mHdM_1732311236 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 6EF3DUL5Y35PAAB6HEQSZGIAX3N734LL X-Message-ID-Hash: 6EF3DUL5Y35PAAB6HEQSZGIAX3N734LL X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732312010365116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - allow versioned models to be used in host capabilities - canonical CPU models in domain capabilities src/cpu_map/index.xml | 1 + src/cpu_map/meson.build | 1 + src/cpu_map/x86_GraniteRapids-v1.xml | 6 +++ .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 43 +++++++++++++++- tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 42 ++++++++++++++- tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 41 ++++++++++++++- tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 41 ++++++++++++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 51 ++++++++++++++++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 41 ++++++++++++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 51 ++++++++++++++++++- 18 files changed, 711 insertions(+), 15 deletions(-) create mode 100644 src/cpu_map/x86_GraniteRapids-v1.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 43f4f705a8..42ea986670 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -61,6 +61,7 @@ + diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index d5d1f847ec..3733ec9441 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -43,6 +43,7 @@ cpumap_data =3D [ 'x86_EPYC-Milan.xml', 'x86_EPYC-Rome.xml', 'x86_features.xml', + 'x86_GraniteRapids-v1.xml', 'x86_GraniteRapids.xml', 'x86_Haswell-IBRS.xml', 'x86_Haswell-noTSX-IBRS.xml', diff --git a/src/cpu_map/x86_GraniteRapids-v1.xml b/src/cpu_map/x86_Granite= Rapids-v1.xml new file mode 100644 index 0000000000..0731becf92 --- /dev/null +++ b/src/cpu_map/x86_GraniteRapids-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index 18d26fbae6..c5663a2c4c 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -201,7 +201,7 @@ - GraniteRapids + GraniteRapids @@ -250,6 +250,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-tcg.x86_64.xml index 6e6a5a8b6c..d6e03061cf 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -269,7 +269,7 @@ - GraniteRapids + GraniteRapids @@ -310,6 +310,47 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.1.0.x86_64.xml index 8880cc4bba..bfb8bb9f69 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -200,7 +200,7 @@ - GraniteRapids + GraniteRapids @@ -249,6 +249,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-q35.x86_64.xml index 2cffb87550..403ae5d32e 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -202,7 +202,7 @@ - GraniteRapids + GraniteRapids @@ -251,6 +251,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-tcg.x86_64.xml index 5a7042c7ba..85d286e825 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml @@ -263,7 +263,7 @@ - GraniteRapids + GraniteRapids @@ -303,6 +303,46 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.2.0.x86_64.xml index 9b18209a23..d2b1c536a0 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -201,7 +201,7 @@ - GraniteRapids + GraniteRapids @@ -250,6 +250,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-q35.x86_64.xml index 024375a354..ce6c0a3aac 100644 --- a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml @@ -202,7 +202,7 @@ - GraniteRapids + GraniteRapids @@ -251,6 +251,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-tcg.x86_64.xml index f379930ff7..8da817381c 100644 --- a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml @@ -258,7 +258,7 @@ - GraniteRapids + GraniteRapids @@ -297,6 +297,45 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.0.0.x86_64.xml index 42d3828892..ec8520f416 100644 --- a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml @@ -201,7 +201,7 @@ - GraniteRapids + GraniteRapids @@ -250,6 +250,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-q35.x86_64.xml index 6a8dd51f2b..84558b42c0 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -206,7 +206,7 @@ - GraniteRapids + GraniteRapids @@ -255,6 +255,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-tcg.x86_64.xml index 08464d2709..ff726ddf51 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -257,7 +257,7 @@ - GraniteRapids + GraniteRapids @@ -296,6 +296,45 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.1.0.x86_64.xml index 773f068c69..20e5903f22 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -205,7 +205,7 @@ - GraniteRapids + GraniteRapids @@ -254,6 +254,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index 88f3b5208f..0fb60d2e9e 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -206,7 +206,7 @@ - GraniteRapids + GraniteRapids @@ -255,6 +255,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-tcg.x86_64.xml index 419147fc14..57c4d2f2a6 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -257,7 +257,7 @@ - GraniteRapids + GraniteRapids @@ -296,6 +296,45 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index 79ba1bc5fc..da9a1b8027 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -205,7 +205,7 @@ - GraniteRapids + GraniteRapids @@ -254,6 +254,55 @@ + GraniteRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Haswell --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732311924227735.4532797800067; Fri, 22 Nov 2024 13:45:24 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 2297A168D; Fri, 22 Nov 2024 16:45:23 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 73B5E1706; Fri, 22 Nov 2024 16:34:48 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id A1A0E1721; Fri, 22 Nov 2024 16:34:35 -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 D3786168B for ; Fri, 22 Nov 2024 16:34:01 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-387-E5AvGpxHN-q1GgvfsiwNHg-1; Fri, 22 Nov 2024 16:33:59 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 896681955F79 for ; Fri, 22 Nov 2024 21:33:58 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 8AC2A1956086 for ; Fri, 22 Nov 2024 21:33:57 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311241; h=from:from: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; bh=41diuBgRsniEB/T0OqMljeqmqrt12jsNRXvU0H1mVeM=; b=g9S0rOCud1tU16BmF7DkFLZ23Kk/2gSimaiCVbwOfLtxVv/umj7ch8sW5sCT1OluX3WagK eTs0HlUejbyYVXY6DrzY1D6PPD/cUi01tbrLt6Y0ISVZ05hW9KUiAFKyGS3wp8wyQhZui6 xK5nmupFTxpd1iX87900mkELwazuEoc= X-MC-Unique: E5AvGpxHN-q1GgvfsiwNHg-1 X-Mimecast-MFC-AGG-ID: E5AvGpxHN-q1GgvfsiwNHg From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 18/36] cpu_map: Add versions of SapphireRapids CPU model Date: Fri, 22 Nov 2024 22:32:58 +0100 Message-ID: <645d5f6814f6746d257dabd344c31873b54a66ab.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: pPlrDJsN3jys-hN73kzEwwiuGD7UBi_XGhcRZlOad0I_1732311238 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: BGIJ6MVNUBRI7AMBLXBYJ4UJ4S5XE264 X-Message-ID-Hash: BGIJ6MVNUBRI7AMBLXBYJ4UJ4S5XE264 X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732311926218116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - for all versioned models - canonical CPU models in domain capabilities src/cpu_map/index.xml | 3 + src/cpu_map/meson.build | 3 + src/cpu_map/x86_SapphireRapids-v1.xml | 6 + src/cpu_map/x86_SapphireRapids-v2.xml | 193 +++++++++++++++++ src/cpu_map/x86_SapphireRapids-v3.xml | 198 ++++++++++++++++++ .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml | 43 +++- .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml | 50 ++++- tests/domaincapsdata/qemu_8.0.0.x86_64.xml | 43 +++- .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 78 ++++++- tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 76 ++++++- tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 74 ++++++- tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 89 +++++++- .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 138 +++++++++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 114 +++++++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 138 +++++++++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 138 +++++++++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 114 +++++++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 138 +++++++++++- 23 files changed, 2063 insertions(+), 18 deletions(-) create mode 100644 src/cpu_map/x86_SapphireRapids-v1.xml create mode 100644 src/cpu_map/x86_SapphireRapids-v2.xml create mode 100644 src/cpu_map/x86_SapphireRapids-v3.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 42ea986670..81cdea3441 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -60,6 +60,9 @@ + + + diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index 3733ec9441..b023ed03c4 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -75,6 +75,9 @@ cpumap_data =3D [ 'x86_qemu64.xml', 'x86_SandyBridge-IBRS.xml', 'x86_SandyBridge.xml', + 'x86_SapphireRapids-v1.xml', + 'x86_SapphireRapids-v2.xml', + 'x86_SapphireRapids-v3.xml', 'x86_SapphireRapids.xml', 'x86_SierraForest-v1.xml', 'x86_SierraForest.xml', diff --git a/src/cpu_map/x86_SapphireRapids-v1.xml b/src/cpu_map/x86_Sapphi= reRapids-v1.xml new file mode 100644 index 0000000000..46466d02b6 --- /dev/null +++ b/src/cpu_map/x86_SapphireRapids-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_SapphireRapids-v2.xml b/src/cpu_map/x86_Sapphi= reRapids-v2.xml new file mode 100644 index 0000000000..198bed0afc --- /dev/null +++ b/src/cpu_map/x86_SapphireRapids-v2.xml @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_SapphireRapids-v3.xml b/src/cpu_map/x86_Sapphi= reRapids-v3.xml new file mode 100644 index 0000000000..e02d5fd562 --- /dev/null +++ b/src/cpu_map/x86_SapphireRapids-v3.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-q35.x86_64.xml index 3ba9419ede..c1776af083 100644 --- a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml @@ -275,7 +275,7 @@ - SapphireRapids + SapphireRapids @@ -316,6 +316,47 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-tcg.x86_64.xml index e5ef1673c3..d6f4e79806 100644 --- a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml @@ -405,7 +405,7 @@ - SapphireRapids + SapphireRapids @@ -453,6 +453,54 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.0.0.x86_64.xml index 9b935c0a6b..27beded8ea 100644 --- a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml @@ -274,7 +274,7 @@ - SapphireRapids + SapphireRapids @@ -315,6 +315,47 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index c5663a2c4c..ce04180999 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -409,7 +409,7 @@ - SapphireRapids + SapphireRapids @@ -451,6 +451,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-tcg.x86_64.xml index d6e03061cf..1836c786dc 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -480,7 +480,7 @@ - SapphireRapids + SapphireRapids @@ -518,6 +518,82 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.1.0.x86_64.xml index bfb8bb9f69..c64f62b14e 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -408,7 +408,7 @@ - SapphireRapids + SapphireRapids @@ -450,6 +450,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-q35.x86_64.xml index 403ae5d32e..ab3d52deb2 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -410,7 +410,7 @@ - SapphireRapids + SapphireRapids @@ -452,6 +452,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-tcg.x86_64.xml index 85d286e825..2d22fd32dd 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml @@ -472,7 +472,7 @@ - SapphireRapids + SapphireRapids @@ -509,6 +509,80 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.2.0.x86_64.xml index d2b1c536a0..a9b5f5efcb 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -409,7 +409,7 @@ - SapphireRapids + SapphireRapids @@ -451,6 +451,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-q35.x86_64.xml index ce6c0a3aac..705e61e950 100644 --- a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml @@ -410,7 +410,7 @@ - SapphireRapids + SapphireRapids @@ -452,6 +452,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-tcg.x86_64.xml index 8da817381c..65ce9690a2 100644 --- a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml @@ -455,7 +455,7 @@ - SapphireRapids + SapphireRapids @@ -491,6 +491,78 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.0.0.x86_64.xml index ec8520f416..062f47aa34 100644 --- a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml @@ -409,7 +409,7 @@ - SapphireRapids + SapphireRapids @@ -451,6 +451,93 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skylake-Client diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-q35.x86_64.xml index 84558b42c0..889d50f4ca 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -414,7 +414,7 @@ - SapphireRapids + SapphireRapids @@ -456,6 +456,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = SierraForest diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-tcg.x86_64.xml index ff726ddf51..f180ad3f9f 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -454,7 +454,7 @@ - SapphireRapids + SapphireRapids @@ -490,6 +490,118 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = SierraForest diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.1.0.x86_64.xml index 20e5903f22..81aeb37353 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -413,7 +413,7 @@ - SapphireRapids + SapphireRapids @@ -455,6 +455,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = SierraForest diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index 0fb60d2e9e..7201a84435 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -414,7 +414,7 @@ - SapphireRapids + SapphireRapids @@ -456,6 +456,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = SierraForest diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-tcg.x86_64.xml index 57c4d2f2a6..958f389aa6 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -454,7 +454,7 @@ - SapphireRapids + SapphireRapids @@ -490,6 +490,118 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = SierraForest diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index da9a1b8027..ade2798f6a 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -413,7 +413,7 @@ - SapphireRapids + SapphireRapids @@ -455,6 +455,142 @@ + SapphireRapids-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SapphireRapids-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = SierraForest --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732312143511303.97135258346225; Fri, 22 Nov 2024 13:49:03 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id ACFF1B08; Fri, 22 Nov 2024 16:49:02 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 4DE951780; Fri, 22 Nov 2024 16:34:52 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 447B316F4; Fri, 22 Nov 2024 16:34:39 -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 DCDEE1521 for ; Fri, 22 Nov 2024 16:34:03 -0500 (EST) Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-31-CepwTeZYOly9wsAhObXiog-1; Fri, 22 Nov 2024 16:34:01 -0500 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (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 mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 055F6195395A for ; Fri, 22 Nov 2024 21:34:01 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 04C6B1955F3E for ; Fri, 22 Nov 2024 21:33:59 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311243; h=from:from: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; bh=CvKlj2lkcByP+R5ds+CDedcDBhDsIp4fPFD3O8gEIFM=; b=FdQ3bWYYXXcHDG/poDeVoj2r616VZqGw6xK+GtOkqXF8tWyYo5PyuMsECxETDeKAn32g9t lKVO4Yx3cm5Sdp9k+1X+D4PAgP4XzkAEKt2qwe1q66zqU8Ze75zc6lNLCNLGOIkTFuASX3 t/qAQ/WjyKpxy3U/X86N8938dr9yn3I= X-MC-Unique: CepwTeZYOly9wsAhObXiog-1 X-Mimecast-MFC-AGG-ID: CepwTeZYOly9wsAhObXiog From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 19/36] cpu_map: Add versions of Snowridge CPU model Date: Fri, 22 Nov 2024 22:32:59 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: NepgjbJsJcAkHI3H3no6etVRiQ8F5MMlSgofhVEMGuM_1732311241 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 5DY5JRQGODCO4DYPMDPHOEH63DLTX4EO X-Message-ID-Hash: 5DY5JRQGODCO4DYPMDPHOEH63DLTX4EO X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732312145470116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - for all versioned models - canonical CPU models in domain capabilities src/cpu_map/index.xml | 4 + src/cpu_map/meson.build | 4 + src/cpu_map/x86_Snowridge-v1.xml | 6 + src/cpu_map/x86_Snowridge-v2.xml | 143 +++++++++++++++++ src/cpu_map/x86_Snowridge-v3.xml | 145 ++++++++++++++++++ src/cpu_map/x86_Snowridge-v4.xml | 143 +++++++++++++++++ .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml | 25 ++- .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml | 40 ++++- tests/domaincapsdata/qemu_5.2.0.x86_64.xml | 25 ++- .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml | 25 ++- .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml | 40 ++++- tests/domaincapsdata/qemu_6.0.0.x86_64.xml | 25 ++- .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml | 36 ++++- .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml | 60 +++++++- tests/domaincapsdata/qemu_6.1.0.x86_64.xml | 36 ++++- .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml | 78 +++++++++- tests/domaincapsdata/qemu_6.2.0.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml | 74 ++++++++- tests/domaincapsdata/qemu_7.0.0.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml | 74 ++++++++- tests/domaincapsdata/qemu_7.1.0.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml | 45 +++++- .../qemu_7.2.0-tcg.x86_64+hvf.xml | 74 ++++++++- .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml | 74 ++++++++- tests/domaincapsdata/qemu_7.2.0.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml | 74 ++++++++- tests/domaincapsdata/qemu_8.0.0.x86_64.xml | 45 +++++- .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 66 +++++++- tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 62 +++++++- tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 58 ++++++- tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 58 ++++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 47 +++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 58 ++++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 47 +++++- 46 files changed, 2387 insertions(+), 40 deletions(-) create mode 100644 src/cpu_map/x86_Snowridge-v1.xml create mode 100644 src/cpu_map/x86_Snowridge-v2.xml create mode 100644 src/cpu_map/x86_Snowridge-v3.xml create mode 100644 src/cpu_map/x86_Snowridge-v4.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 81cdea3441..d35eb80d03 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -59,6 +59,10 @@ + + + + diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index b023ed03c4..cecb6d1d83 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -87,6 +87,10 @@ cpumap_data =3D [ 'x86_Skylake-Server-IBRS.xml', 'x86_Skylake-Server-noTSX-IBRS.xml', 'x86_Skylake-Server.xml', + 'x86_Snowridge-v1.xml', + 'x86_Snowridge-v2.xml', + 'x86_Snowridge-v3.xml', + 'x86_Snowridge-v4.xml', 'x86_Snowridge.xml', 'x86_vendors.xml', 'x86_Westmere-IBRS.xml', diff --git a/src/cpu_map/x86_Snowridge-v1.xml b/src/cpu_map/x86_Snowridge-v= 1.xml new file mode 100644 index 0000000000..01c6fc68ff --- /dev/null +++ b/src/cpu_map/x86_Snowridge-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_Snowridge-v2.xml b/src/cpu_map/x86_Snowridge-v= 2.xml new file mode 100644 index 0000000000..b299598be9 --- /dev/null +++ b/src/cpu_map/x86_Snowridge-v2.xml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Snowridge-v3.xml b/src/cpu_map/x86_Snowridge-v= 3.xml new file mode 100644 index 0000000000..11967f814b --- /dev/null +++ b/src/cpu_map/x86_Snowridge-v3.xml @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Snowridge-v4.xml b/src/cpu_map/x86_Snowridge-v= 4.xml new file mode 100644 index 0000000000..5d11c94d97 --- /dev/null +++ b/src/cpu_map/x86_Snowridge-v4.xml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-q35.x86_64.xml index 5579ad3fc2..6d0d347cd0 100644 --- a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml @@ -358,7 +358,7 @@ - Snowridge + Sno= wridge @@ -370,6 +370,29 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-tcg.x86_64.xml index a111a8d751..3fff90679f 100644 --- a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml @@ -632,7 +632,7 @@ - Snowridge + Sno= wridge @@ -651,6 +651,44 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.2.0.x86_64.xml index 8882b9c8a7..155affd7a2 100644 --- a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0.x86_64.xml @@ -357,7 +357,7 @@ - Snowridge + Sno= wridge @@ -369,6 +369,29 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-q35.x86_64.xml index b0a4bce914..97c2f3f216 100644 --- a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml @@ -367,7 +367,7 @@ - Snowridge + Sno= wridge @@ -379,6 +379,29 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-tcg.x86_64.xml index 334a523179..4f5abc3c87 100644 --- a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml @@ -664,7 +664,7 @@ - Snowridge + Sno= wridge @@ -683,6 +683,44 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.0.0.x86_64.xml index 30e5686593..1e7d5acadd 100644 --- a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0.x86_64.xml @@ -366,7 +366,7 @@ - Snowridge + Sno= wridge @@ -378,6 +378,29 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-q35.x86_64.xml index 777b7c5198..931c1ccfa8 100644 --- a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml @@ -369,7 +369,7 @@ - Snowridge + Sno= wridge @@ -381,6 +381,40 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-tcg.x86_64.xml index 6c58d132d9..c381827ef1 100644 --- a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml @@ -665,7 +665,7 @@ - Snowridge + Sno= wridge @@ -684,6 +684,64 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.1.0.x86_64.xml index 68b0a658dd..92507c01e6 100644 --- a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0.x86_64.xml @@ -368,7 +368,7 @@ - Snowridge + Sno= wridge @@ -380,6 +380,40 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-q35.x86_64.xml index 4a055e19ec..002004001a 100644 --- a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml @@ -368,7 +368,7 @@ - Snowridge + Sno= wridge @@ -380,6 +380,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-tcg.x86_64.xml index 91dbb8ff78..7ec91e11d3 100644 --- a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml @@ -665,7 +665,7 @@ - Snowridge + Sno= wridge @@ -684,6 +684,82 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.2.0.x86_64.xml index 466be5c7a0..3b449eec8d 100644 --- a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0.x86_64.xml @@ -367,7 +367,7 @@ - Snowridge + Sno= wridge @@ -379,6 +379,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-q35.x86_64.xml index 637579d6ec..bc603035fe 100644 --- a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml @@ -369,7 +369,7 @@ - Snowridge + Sno= wridge @@ -381,6 +381,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-tcg.x86_64.xml index 1ed0cef05b..8e545b5e9d 100644 --- a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml @@ -660,7 +660,7 @@ - Snowridge + Sno= wridge @@ -678,6 +678,78 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.0.0.x86_64.xml index acde0c66d9..e2b164f6f2 100644 --- a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0.x86_64.xml @@ -368,7 +368,7 @@ - Snowridge + Sno= wridge @@ -380,6 +380,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-q35.x86_64.xml index 591e15ab24..be1c10ba88 100644 --- a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml @@ -336,7 +336,7 @@ - Snowridge + Sno= wridge @@ -348,6 +348,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-tcg.x86_64.xml index 52086550db..d43ed80338 100644 --- a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml @@ -608,7 +608,7 @@ - Snowridge + Sno= wridge @@ -626,6 +626,78 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.1.0.x86_64.xml index 1170d8ed2c..c8f74ea60e 100644 --- a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0.x86_64.xml @@ -335,7 +335,7 @@ - Snowridge + Sno= wridge @@ -347,6 +347,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-q35.x86_64.xml index 653a7a7bac..890b8ec2e9 100644 --- a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml @@ -341,7 +341,7 @@ - Snowridge + Sno= wridge @@ -353,6 +353,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml b/tests/dom= aincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml index 779bdddad6..fb20353bbf 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml @@ -489,7 +489,7 @@ - Snowridge + Sno= wridge @@ -507,6 +507,78 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-tcg.x86_64.xml index 779bdddad6..fb20353bbf 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml @@ -489,7 +489,7 @@ - Snowridge + Sno= wridge @@ -507,6 +507,78 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.2.0.x86_64.xml index 72d4e7be39..02406d697a 100644 --- a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0.x86_64.xml @@ -340,7 +340,7 @@ - Snowridge + Sno= wridge @@ -352,6 +352,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-q35.x86_64.xml index c1776af083..4e70aee549 100644 --- a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml @@ -423,7 +423,7 @@ - Snowridge + Sno= wridge @@ -435,6 +435,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-tcg.x86_64.xml index d6f4e79806..25c522f8d6 100644 --- a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml @@ -588,7 +588,7 @@ - Snowridge + Sno= wridge @@ -606,6 +606,78 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.0.0.x86_64.xml index 27beded8ea..d8ef35e83f 100644 --- a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml @@ -422,7 +422,7 @@ - Snowridge + Sno= wridge @@ -434,6 +434,49 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + Snowridge-v4 + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index ce04180999..b63775042f 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -604,7 +604,7 @@ - Snowridge + Sno= wridge @@ -616,6 +616,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-tcg.x86_64.xml index 1836c786dc..b08763142e 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -669,7 +669,7 @@ - Snowridge + Sno= wridge @@ -685,6 +685,70 @@ + Snowridge-v1 + + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.1.0.x86_64.xml index c64f62b14e..f235e3ca55 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -603,7 +603,7 @@ - Snowridge + Sno= wridge @@ -615,6 +615,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-q35.x86_64.xml index ab3d52deb2..db5e71cae3 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -605,7 +605,7 @@ - Snowridge + Sno= wridge @@ -617,6 +617,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-tcg.x86_64.xml index 2d22fd32dd..bc1c8b629c 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml @@ -658,7 +658,7 @@ - Snowridge + Sno= wridge @@ -673,6 +673,66 @@ + Snowridge-v1 + + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.2.0.x86_64.xml index a9b5f5efcb..4092b0cbaf 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -604,7 +604,7 @@ - Snowridge + Sno= wridge @@ -616,6 +616,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-q35.x86_64.xml index 705e61e950..46cdc98b04 100644 --- a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml @@ -605,7 +605,7 @@ - Snowridge + Sno= wridge @@ -617,6 +617,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-tcg.x86_64.xml index 65ce9690a2..52ce59c185 100644 --- a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml @@ -632,7 +632,7 @@ - Snowridge + Sno= wridge @@ -646,6 +646,62 @@ + Snowridge-v1 + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.0.0.x86_64.xml index 062f47aa34..f7716b5c10 100644 --- a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml @@ -604,7 +604,7 @@ - Snowridge + Sno= wridge @@ -616,6 +616,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-q35.x86_64.xml index 889d50f4ca..16e5de9503 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -712,7 +712,7 @@ - Snowridge + Sno= wridge @@ -724,6 +724,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-tcg.x86_64.xml index f180ad3f9f..b0a266f649 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -711,7 +711,7 @@ - Snowridge + Sno= wridge @@ -725,6 +725,62 @@ + Snowridge-v1 + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.1.0.x86_64.xml index 81aeb37353..a948cd9173 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -711,7 +711,7 @@ - Snowridge + Sno= wridge @@ -723,6 +723,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index 7201a84435..a986a09589 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -712,7 +712,7 @@ - Snowridge + Sno= wridge @@ -724,6 +724,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-tcg.x86_64.xml index 958f389aa6..1ad4b0a9f3 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -711,7 +711,7 @@ - Snowridge + Sno= wridge @@ -725,6 +725,62 @@ + Snowridge-v1 + + + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + + + + Westmere Westmere-IBRS diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index ade2798f6a..8051bf82a3 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -711,7 +711,7 @@ - Snowridge + Sno= wridge @@ -723,6 +723,51 @@ + Snowridge-v1 + + + + + + + + + + + + Snowridge-v2 + + + + + + + + + + + Snowridge-v3 + + + + + + + + + + + + Snowridge-v4 + + + + + + + + + Westmere Westmere-IBRS --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732312261288848.6132098730766; Fri, 22 Nov 2024 13:51:01 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 5F5DF15D2; Fri, 22 Nov 2024 16:51:00 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id A62C21793; Fri, 22 Nov 2024 16:34:55 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 3275F16F1; Fri, 22 Nov 2024 16:34:41 -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 0BF921663 for ; Fri, 22 Nov 2024 16:34:07 -0500 (EST) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-549-p3IvzMfuOh2RlHdf674-6w-1; Fri, 22 Nov 2024 16:34:04 -0500 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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 mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BACF11955F3C for ; Fri, 22 Nov 2024 21:34:03 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9907819560A3 for ; Fri, 22 Nov 2024 21:34:02 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311246; h=from:from: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; bh=+opWn3hgZfE4fffGq0e+ysssZxDD/q5He8DgRD9IREQ=; b=X/fM/s4aBhxcH9uHBAJraJTrHne3bXfFa9yE1bSaD+RciWeDOmwqXJeScmAOZDuj+Xbn2a D4bE5DvixcOzRX3oa37z99byquybDzgJaWDZgKF1sMg8xJS5jlsv5PnNyLOY4+OkVQmQoh I4X2nFBiJv+3KPWAN81QgUZLe2XTgUM= X-MC-Unique: p3IvzMfuOh2RlHdf674-6w-1 X-Mimecast-MFC-AGG-ID: p3IvzMfuOh2RlHdf674-6w From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 20/36] cpu_map: Add versions of Cooperlake CPU model Date: Fri, 22 Nov 2024 22:33:00 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: B9fu1fRdVaRSZCiejr8xMRgbgikS2dqKt5sY_dDg-9o_1732311243 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: C53M2E5BYSZQY3TYLODLGW2AKLW7LMGT X-Message-ID-Hash: C53M2E5BYSZQY3TYLODLGW2AKLW7LMGT X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732312263762116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - for all versioned models - canonical CPU models in domain capabilities src/cpu_map/index.xml | 2 + src/cpu_map/meson.build | 2 + src/cpu_map/x86_Cooperlake-v1.xml | 6 + src/cpu_map/x86_Cooperlake-v2.xml | 164 ++++++++++++++++++ .../x86_64-cpuid-Cooperlake-host.xml | 2 +- .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml | 21 ++- .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml | 35 +++- tests/domaincapsdata/qemu_5.2.0.x86_64.xml | 21 ++- .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml | 21 ++- .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml | 35 +++- tests/domaincapsdata/qemu_6.0.0.x86_64.xml | 21 ++- .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml | 42 ++++- .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml | 71 +++++++- tests/domaincapsdata/qemu_6.1.0.x86_64.xml | 42 ++++- .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml | 69 +++++++- tests/domaincapsdata/qemu_6.2.0.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml | 69 +++++++- tests/domaincapsdata/qemu_7.0.0.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml | 69 +++++++- tests/domaincapsdata/qemu_7.1.0.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml | 40 ++++- .../qemu_7.2.0-tcg.x86_64+hvf.xml | 61 ++++++- .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml | 61 ++++++- tests/domaincapsdata/qemu_7.2.0.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml | 61 ++++++- tests/domaincapsdata/qemu_8.0.0.x86_64.xml | 40 ++++- .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 45 ++++- tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 45 ++++- tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 43 ++++- tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 43 ++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 41 ++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 43 ++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 41 ++++- 45 files changed, 1863 insertions(+), 41 deletions(-) create mode 100644 src/cpu_map/x86_Cooperlake-v1.xml create mode 100644 src/cpu_map/x86_Cooperlake-v2.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index d35eb80d03..923954b763 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -58,6 +58,8 @@ + + diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index cecb6d1d83..e08d8ccda7 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -31,6 +31,8 @@ cpumap_data =3D [ 'x86_Cascadelake-Server-noTSX.xml', 'x86_Cascadelake-Server.xml', 'x86_Conroe.xml', + 'x86_Cooperlake-v1.xml', + 'x86_Cooperlake-v2.xml', 'x86_Cooperlake.xml', 'x86_core2duo.xml', 'x86_coreduo.xml', diff --git a/src/cpu_map/x86_Cooperlake-v1.xml b/src/cpu_map/x86_Cooperlake= -v1.xml new file mode 100644 index 0000000000..50f90c1f1e --- /dev/null +++ b/src/cpu_map/x86_Cooperlake-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_Cooperlake-v2.xml b/src/cpu_map/x86_Cooperlake= -v2.xml new file mode 100644 index 0000000000..8c9c5ac2fd --- /dev/null +++ b/src/cpu_map/x86_Cooperlake-v2.xml @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-host.xml index 9ff74bc029..0be098de80 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml @@ -1,6 +1,6 @@ x86_64 - Cooperlake + Cooperlake-v1 Intel diff --git a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-q35.x86_64.xml index 6d0d347cd0..e8bcba9fc1 100644 --- a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml @@ -125,7 +125,7 @@ Conroe - Cooperlake + Co= operlake @@ -144,6 +144,25 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-tcg.x86_64.xml index 3fff90679f..30d652e640 100644 --- a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml @@ -185,7 +185,7 @@ Conroe - Cooperlake + Co= operlake @@ -218,6 +218,39 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.2.0.x86_64.xml index 155affd7a2..ad76c3e130 100644 --- a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0.x86_64.xml @@ -124,7 +124,7 @@ Conroe - Cooperlake + Co= operlake @@ -143,6 +143,25 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-q35.x86_64.xml index 97c2f3f216..c55f8e34b9 100644 --- a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml @@ -125,7 +125,7 @@ Conroe - Cooperlake + Co= operlake @@ -144,6 +144,25 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-tcg.x86_64.xml index 4f5abc3c87..e03c10eb84 100644 --- a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml @@ -186,7 +186,7 @@ Conroe - Cooperlake + Co= operlake @@ -219,6 +219,39 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.0.0.x86_64.xml index 1e7d5acadd..6cfa5828bb 100644 --- a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0.x86_64.xml @@ -124,7 +124,7 @@ Conroe - Cooperlake + Co= operlake @@ -143,6 +143,25 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-q35.x86_64.xml index 931c1ccfa8..50941234d6 100644 --- a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml @@ -126,7 +126,7 @@ Conroe - Cooperlake + Co= operlake @@ -146,6 +146,46 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-tcg.x86_64.xml index c381827ef1..93cc2bd1f2 100644 --- a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml @@ -186,7 +186,7 @@ Conroe - Cooperlake + Co= operlake @@ -220,6 +220,75 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.1.0.x86_64.xml index 92507c01e6..7a69746717 100644 --- a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0.x86_64.xml @@ -125,7 +125,7 @@ Conroe - Cooperlake + Co= operlake @@ -145,6 +145,46 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-q35.x86_64.xml index 002004001a..8a077e113d 100644 --- a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml @@ -126,7 +126,7 @@ Conroe - Cooperlake + Co= operlake @@ -145,6 +145,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-tcg.x86_64.xml index 7ec91e11d3..59145f6dfe 100644 --- a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml @@ -188,7 +188,7 @@ Conroe - Cooperlake + Co= operlake @@ -221,6 +221,73 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.2.0.x86_64.xml index 3b449eec8d..6f76e4795f 100644 --- a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0.x86_64.xml @@ -125,7 +125,7 @@ Conroe - Cooperlake + Co= operlake @@ -144,6 +144,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-q35.x86_64.xml index bc603035fe..44eff055b4 100644 --- a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml @@ -127,7 +127,7 @@ Conroe - Cooperlake + Co= operlake @@ -146,6 +146,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-tcg.x86_64.xml index 8e545b5e9d..5ccb0a9914 100644 --- a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml @@ -189,7 +189,7 @@ Conroe - Cooperlake + Co= operlake @@ -222,6 +222,73 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.0.0.x86_64.xml index e2b164f6f2..8d364912f2 100644 --- a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0.x86_64.xml @@ -126,7 +126,7 @@ Conroe - Cooperlake + Co= operlake @@ -145,6 +145,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-q35.x86_64.xml index be1c10ba88..e33078702c 100644 --- a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml @@ -128,7 +128,7 @@ Conroe - Cooperlake + Co= operlake @@ -147,6 +147,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-tcg.x86_64.xml index d43ed80338..62bd747f47 100644 --- a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml @@ -189,7 +189,7 @@ Conroe - Cooperlake + Co= operlake @@ -222,6 +222,73 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.1.0.x86_64.xml index c8f74ea60e..46f2582342 100644 --- a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0.x86_64.xml @@ -127,7 +127,7 @@ Conroe - Cooperlake + Co= operlake @@ -146,6 +146,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-q35.x86_64.xml index 890b8ec2e9..04173eab2d 100644 --- a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml @@ -133,7 +133,7 @@ Conroe - Cooperlake + Co= operlake @@ -152,6 +152,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml b/tests/dom= aincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml index fb20353bbf..72e50e80e3 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml @@ -154,7 +154,7 @@ Conroe - Cooperlake + Co= operlake @@ -183,6 +183,65 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-tcg.x86_64.xml index fb20353bbf..72e50e80e3 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml @@ -154,7 +154,7 @@ Conroe - Cooperlake + Co= operlake @@ -183,6 +183,65 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.2.0.x86_64.xml index 02406d697a..bfd4582994 100644 --- a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0.x86_64.xml @@ -132,7 +132,7 @@ Conroe - Cooperlake + Co= operlake @@ -151,6 +151,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-q35.x86_64.xml index 4e70aee549..c460ef2747 100644 --- a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml @@ -133,7 +133,7 @@ Conroe - Cooperlake + Co= operlake @@ -152,6 +152,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-tcg.x86_64.xml index 25c522f8d6..70cc61a266 100644 --- a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml @@ -158,7 +158,7 @@ Conroe - Cooperlake + Co= operlake @@ -187,6 +187,65 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.0.0.x86_64.xml index d8ef35e83f..e4a6e0d835 100644 --- a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml @@ -132,7 +132,7 @@ Conroe - Cooperlake + Co= operlake @@ -151,6 +151,44 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-IBPB diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index b63775042f..52d5f90429 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -135,7 +135,7 @@ Conroe - Cooperlake + Co= operlake @@ -154,6 +154,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-tcg.x86_64.xml index b08763142e..a11ab737f6 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -143,7 +143,7 @@ Conroe - Cooperlake + Co= operlake @@ -164,6 +164,49 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.1.0.x86_64.xml index f235e3ca55..a6c02c0eb7 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -134,7 +134,7 @@ Conroe - Cooperlake + Co= operlake @@ -153,6 +153,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-q35.x86_64.xml index db5e71cae3..b12b0a0738 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -136,7 +136,7 @@ Conroe - Cooperlake + Co= operlake @@ -155,6 +155,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-tcg.x86_64.xml index bc1c8b629c..58fbf2e156 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml @@ -142,7 +142,7 @@ Conroe - Cooperlake + Co= operlake @@ -163,6 +163,49 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.2.0.x86_64.xml index 4092b0cbaf..9df7ab5d51 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -135,7 +135,7 @@ Conroe - Cooperlake + Co= operlake @@ -154,6 +154,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-q35.x86_64.xml index 46cdc98b04..c6dd80de95 100644 --- a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml @@ -136,7 +136,7 @@ Conroe - Cooperlake + Co= operlake @@ -155,6 +155,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-tcg.x86_64.xml index 52ce59c185..4cec75464f 100644 --- a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml @@ -138,7 +138,7 @@ Conroe - Cooperlake + Co= operlake @@ -158,6 +158,47 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.0.0.x86_64.xml index f7716b5c10..7bcc10e61c 100644 --- a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml @@ -135,7 +135,7 @@ Conroe - Cooperlake + Co= operlake @@ -154,6 +154,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-q35.x86_64.xml index 16e5de9503..3fb82c81ad 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -140,7 +140,7 @@ Conroe - Cooperlake + Co= operlake @@ -159,6 +159,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-tcg.x86_64.xml index b0a266f649..7600b69f9f 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -137,7 +137,7 @@ Conroe - Cooperlake + Co= operlake @@ -157,6 +157,47 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.1.0.x86_64.xml index a948cd9173..e8e1b804f6 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -139,7 +139,7 @@ Conroe - Cooperlake + Co= operlake @@ -158,6 +158,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index a986a09589..dfcaa22ea3 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -140,7 +140,7 @@ Conroe - Cooperlake + Co= operlake @@ -159,6 +159,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-tcg.x86_64.xml index 1ad4b0a9f3..43348c344c 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -137,7 +137,7 @@ Conroe - Cooperlake + Co= operlake @@ -157,6 +157,47 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + + Dhyana diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index 8051bf82a3..bf8f4ebba3 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -139,7 +139,7 @@ Conroe - Cooperlake + Co= operlake @@ -158,6 +158,45 @@ + Cooperlake-v1 + + + + + + + + + + + + + + + + + + + Cooperlake-v2 + + + + + + + + + + + + + + + + + + + Dhyana EPYC EPYC-Genoa --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 1732312409471930.5857967518662; Fri, 22 Nov 2024 13:53:29 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 9695217A2; Fri, 22 Nov 2024 16:53:28 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 9723F179C; Fri, 22 Nov 2024 16:34:58 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 675DD1627; Fri, 22 Nov 2024 16:34:43 -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 1B9E815F0 for ; Fri, 22 Nov 2024 16:34:14 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-91-RNgw0XA1OYejk35QKIKy-Q-1; Fri, 22 Nov 2024 16:34:09 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 32B0A1955E75 for ; Fri, 22 Nov 2024 21:34:08 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 373741955F43 for ; Fri, 22 Nov 2024 21:34:04 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311253; h=from:from: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; bh=jEXpEJ/vfIYGFd8czSeW5/yMLoAS6B6oqBqz5zQtpA4=; b=ZtD5xboPTnHoWSi7t9roIVTkRLvc8Lh2XJvNnY6nzadxE6yNDGgu/n398sOC9mzeie1iRU PfgMVMn5WKeGwC7GCeMPVqFdLwhtZXI+rkoquN9LDAjM/kooWKbqdE3gqFMQVcUwd9PZym yHPz5MMln2n9c5PT8IX2qF9goyApiJc= X-MC-Unique: RNgw0XA1OYejk35QKIKy-Q-1 X-Mimecast-MFC-AGG-ID: RNgw0XA1OYejk35QKIKy-Q From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 21/36] cpu_map: Add versions of Icelake-Server CPU model Date: Fri, 22 Nov 2024 22:33:01 +0100 Message-ID: <8bce18f66334df642a99360b5391cf8a6d89e708.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: qUSvoOAzJtl2ma5J_IHoTE7ryY-UhYl4Qh_hx29IvRw_1732311248 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: VYA7VCHJMJQTGJX4LGLHU7UGKJEWHXPI X-Message-ID-Hash: VYA7VCHJMJQTGJX4LGLHU7UGKJEWHXPI X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732312410798116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - Icelake-Server-v2 defined as an alias to Icelake-Server-noTSX - for all versioned models - canonical CPU models in domain capabilities - CPU models are no longer canonicalized in post-parse src/cpu_map/index.xml | 7 + src/cpu_map/meson.build | 7 + src/cpu_map/x86_Icelake-Server-v1.xml | 6 + src/cpu_map/x86_Icelake-Server-v2.xml | 6 + src/cpu_map/x86_Icelake-Server-v3.xml | 165 +++++++++++++ src/cpu_map/x86_Icelake-Server-v4.xml | 172 +++++++++++++ src/cpu_map/x86_Icelake-Server-v5.xml | 174 +++++++++++++ src/cpu_map/x86_Icelake-Server-v6.xml | 175 ++++++++++++++ src/cpu_map/x86_Icelake-Server-v7.xml | 177 ++++++++++++++ .../x86_64-cpuid-Ice-Lake-Server-host.xml | 2 +- .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml | 100 +++++++- .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml | 148 +++++++++++- tests/domaincapsdata/qemu_5.2.0.x86_64.xml | 100 +++++++- .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml | 100 +++++++- .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml | 148 +++++++++++- tests/domaincapsdata/qemu_6.0.0.x86_64.xml | 100 +++++++- .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml | 126 +++++++++- .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml | 191 ++++++++++++++- tests/domaincapsdata/qemu_6.1.0.x86_64.xml | 126 +++++++++- .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml | 126 +++++++++- .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml | 191 ++++++++++++++- tests/domaincapsdata/qemu_6.2.0.x86_64.xml | 126 +++++++++- .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml | 152 +++++++++++- .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml | 228 +++++++++++++++++- tests/domaincapsdata/qemu_7.0.0.x86_64.xml | 152 +++++++++++- .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml | 152 +++++++++++- .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml | 228 +++++++++++++++++- tests/domaincapsdata/qemu_7.1.0.x86_64.xml | 152 +++++++++++- .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml | 152 +++++++++++- .../qemu_7.2.0-tcg.x86_64+hvf.xml | 198 ++++++++++++++- .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml | 198 ++++++++++++++- tests/domaincapsdata/qemu_7.2.0.x86_64.xml | 152 +++++++++++- .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml | 152 +++++++++++- .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml | 195 ++++++++++++++- tests/domaincapsdata/qemu_8.0.0.x86_64.xml | 152 +++++++++++- .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 154 +++++++++++- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 150 +++++++++++- tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 154 +++++++++++- .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 154 +++++++++++- .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 147 ++++++++++- tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 154 +++++++++++- .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 154 +++++++++++- .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 141 ++++++++++- tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 154 +++++++++++- .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 183 +++++++++++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 167 ++++++++++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 183 +++++++++++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 183 +++++++++++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 167 ++++++++++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 183 +++++++++++++- 50 files changed, 7083 insertions(+), 81 deletions(-) create mode 100644 src/cpu_map/x86_Icelake-Server-v1.xml create mode 100644 src/cpu_map/x86_Icelake-Server-v2.xml create mode 100644 src/cpu_map/x86_Icelake-Server-v3.xml create mode 100644 src/cpu_map/x86_Icelake-Server-v4.xml create mode 100644 src/cpu_map/x86_Icelake-Server-v5.xml create mode 100644 src/cpu_map/x86_Icelake-Server-v6.xml create mode 100644 src/cpu_map/x86_Icelake-Server-v7.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 923954b763..be39f356f1 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -57,6 +57,13 @@ + + + + + + + diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index e08d8ccda7..87617101aa 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -54,6 +54,13 @@ cpumap_data =3D [ 'x86_Icelake-Client-noTSX.xml', 'x86_Icelake-Client.xml', 'x86_Icelake-Server-noTSX.xml', + 'x86_Icelake-Server-v1.xml', + 'x86_Icelake-Server-v2.xml', + 'x86_Icelake-Server-v3.xml', + 'x86_Icelake-Server-v4.xml', + 'x86_Icelake-Server-v5.xml', + 'x86_Icelake-Server-v6.xml', + 'x86_Icelake-Server-v7.xml', 'x86_Icelake-Server.xml', 'x86_IvyBridge-IBRS.xml', 'x86_IvyBridge.xml', diff --git a/src/cpu_map/x86_Icelake-Server-v1.xml b/src/cpu_map/x86_Icelak= e-Server-v1.xml new file mode 100644 index 0000000000..4c48816587 --- /dev/null +++ b/src/cpu_map/x86_Icelake-Server-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_Icelake-Server-v2.xml b/src/cpu_map/x86_Icelak= e-Server-v2.xml new file mode 100644 index 0000000000..3fbb9f40cb --- /dev/null +++ b/src/cpu_map/x86_Icelake-Server-v2.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_Icelake-Server-v3.xml b/src/cpu_map/x86_Icelak= e-Server-v3.xml new file mode 100644 index 0000000000..2bdbe8861d --- /dev/null +++ b/src/cpu_map/x86_Icelake-Server-v3.xml @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Icelake-Server-v4.xml b/src/cpu_map/x86_Icelak= e-Server-v4.xml new file mode 100644 index 0000000000..b6e02317c5 --- /dev/null +++ b/src/cpu_map/x86_Icelake-Server-v4.xml @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Icelake-Server-v5.xml b/src/cpu_map/x86_Icelak= e-Server-v5.xml new file mode 100644 index 0000000000..d3fad58845 --- /dev/null +++ b/src/cpu_map/x86_Icelake-Server-v5.xml @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Icelake-Server-v6.xml b/src/cpu_map/x86_Icelak= e-Server-v6.xml new file mode 100644 index 0000000000..f434f4c50c --- /dev/null +++ b/src/cpu_map/x86_Icelake-Server-v6.xml @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Icelake-Server-v7.xml b/src/cpu_map/x86_Icelak= e-Server-v7.xml new file mode 100644 index 0000000000..11d155024a --- /dev/null +++ b/src/cpu_map/x86_Icelake-Server-v7.xml @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml b/test= s/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml index 1519793fca..443971b9f2 100644 --- a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml @@ -1,6 +1,6 @@ x86_64 - Icelake-Server + Icelake-Server-v1 Intel diff --git a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-q35.x86_64.xml index e8bcba9fc1..0f4ee36d0d 100644 --- a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml @@ -231,7 +231,7 @@ - Icelake-Server + Icelake-Server @@ -255,7 +255,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -277,6 +277,102 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-tcg.x86_64.xml index 30d652e640..a365cd9db5 100644 --- a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml @@ -429,7 +429,7 @@ - Icelake-Server + Icelake-Server @@ -462,7 +462,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -493,6 +493,150 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.2.0.x86_64.xml index ad76c3e130..e7457b3433 100644 --- a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0.x86_64.xml @@ -230,7 +230,7 @@ - Icelake-Server + Icelake-Server @@ -254,7 +254,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -276,6 +276,102 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-q35.x86_64.xml index c55f8e34b9..56e8aeda5f 100644 --- a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml @@ -240,7 +240,7 @@ - Icelake-Server + Icelake-Server @@ -264,7 +264,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -286,6 +286,102 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-tcg.x86_64.xml index e03c10eb84..e5c5dadd5c 100644 --- a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml @@ -461,7 +461,7 @@ - Icelake-Server + Icelake-Server @@ -494,7 +494,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -525,6 +525,150 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.0.0.x86_64.xml index 6cfa5828bb..4661ca8fc3 100644 --- a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0.x86_64.xml @@ -239,7 +239,7 @@ - Icelake-Server + Icelake-Server @@ -263,7 +263,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -285,6 +285,102 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-q35.x86_64.xml index 50941234d6..c9785bf41a 100644 --- a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml @@ -263,7 +263,7 @@ - Icelake-Server + Icelake-Server @@ -287,7 +287,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -309,6 +309,128 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-tcg.x86_64.xml index 93cc2bd1f2..323f372ae1 100644 --- a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml @@ -498,7 +498,7 @@ - Icelake-Server + Icelake-Server @@ -531,7 +531,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -562,6 +562,193 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.1.0.x86_64.xml index 7a69746717..bb4f0ae925 100644 --- a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0.x86_64.xml @@ -262,7 +262,7 @@ - Icelake-Server + Icelake-Server @@ -286,7 +286,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -308,6 +308,128 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-q35.x86_64.xml index 8a077e113d..4f40568023 100644 --- a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml @@ -260,7 +260,7 @@ - Icelake-Server + Icelake-Server @@ -284,7 +284,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -306,6 +306,128 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-tcg.x86_64.xml index 59145f6dfe..48e40883a0 100644 --- a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml @@ -496,7 +496,7 @@ - Icelake-Server + Icelake-Server @@ -529,7 +529,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -560,6 +560,193 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.2.0.x86_64.xml index 6f76e4795f..71b92316e5 100644 --- a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0.x86_64.xml @@ -259,7 +259,7 @@ - Icelake-Server + Icelake-Server @@ -283,7 +283,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -305,6 +305,128 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-q35.x86_64.xml index 44eff055b4..455e6fff84 100644 --- a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml @@ -261,7 +261,7 @@ - Icelake-Server + Icelake-Server @@ -285,7 +285,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -307,6 +307,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-tcg.x86_64.xml index 5ccb0a9914..1e54fd398d 100644 --- a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml @@ -493,7 +493,7 @@ - Icelake-Server + Icelake-Server @@ -525,7 +525,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -555,6 +555,230 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.0.0.x86_64.xml index 8d364912f2..6531049aff 100644 --- a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0.x86_64.xml @@ -260,7 +260,7 @@ - Icelake-Server + Icelake-Server @@ -284,7 +284,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -306,6 +306,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-q35.x86_64.xml index e33078702c..cde60502d5 100644 --- a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml @@ -228,7 +228,7 @@ - Icelake-Server + Icelake-Server @@ -252,7 +252,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -274,6 +274,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-tcg.x86_64.xml index 62bd747f47..a0b652df0e 100644 --- a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml @@ -441,7 +441,7 @@ - Icelake-Server + Icelake-Server @@ -473,7 +473,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -503,6 +503,230 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.1.0.x86_64.xml index 46f2582342..97bb824317 100644 --- a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0.x86_64.xml @@ -227,7 +227,7 @@ - Icelake-Server + Icelake-Server @@ -251,7 +251,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -273,6 +273,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-q35.x86_64.xml index 04173eab2d..9ba9ac5008 100644 --- a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml @@ -233,7 +233,7 @@ - Icelake-Server + Icelake-Server @@ -257,7 +257,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -279,6 +279,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml b/tests/dom= aincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml index 72e50e80e3..849756739a 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml @@ -358,7 +358,7 @@ - Icelake-Server + Icelake-Server @@ -385,7 +385,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -410,6 +410,200 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-tcg.x86_64.xml index 72e50e80e3..849756739a 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml @@ -358,7 +358,7 @@ - Icelake-Server + Icelake-Server @@ -385,7 +385,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -410,6 +410,200 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.2.0.x86_64.xml index bfd4582994..3edab09abd 100644 --- a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0.x86_64.xml @@ -232,7 +232,7 @@ - Icelake-Server + Icelake-Server @@ -256,7 +256,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -278,6 +278,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-q35.x86_64.xml index c460ef2747..7cfe1538d1 100644 --- a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml @@ -233,7 +233,7 @@ - Icelake-Server + Icelake-Server @@ -257,7 +257,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -279,6 +279,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-tcg.x86_64.xml index 70cc61a266..7a35a7ae24 100644 --- a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml @@ -361,7 +361,7 @@ - Icelake-Server + Icelake-Server @@ -388,7 +388,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -413,6 +413,197 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.0.0.x86_64.xml index e4a6e0d835..f63dc64c38 100644 --- a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml @@ -232,7 +232,7 @@ - Icelake-Server + Icelake-Server @@ -256,7 +256,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -278,6 +278,154 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index 52d5f90429..8638cb6eb2 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -368,7 +368,7 @@ - Icelake-Server + Icelake-Server @@ -392,7 +392,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -414,6 +414,156 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-tcg.x86_64.xml index a11ab737f6..2968dc71a2 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -428,7 +428,7 @@ - Icelake-Server + Icelake-Server @@ -452,7 +452,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -474,6 +474,152 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.1.0.x86_64.xml index a6c02c0eb7..bc8bbc31b1 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -367,7 +367,7 @@ - Icelake-Server + Icelake-Server @@ -391,7 +391,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -413,6 +413,156 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-q35.x86_64.xml index b12b0a0738..f0c374491a 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -369,7 +369,7 @@ - Icelake-Server + Icelake-Server @@ -393,7 +393,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -415,6 +415,156 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-tcg.x86_64.xml index 58fbf2e156..fb989bb068 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml @@ -420,7 +420,7 @@ - Icelake-Server + Icelake-Server @@ -444,7 +444,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -466,6 +466,149 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.2.0.x86_64.xml index 9df7ab5d51..59076315d0 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -368,7 +368,7 @@ - Icelake-Server + Icelake-Server @@ -392,7 +392,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -414,6 +414,156 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-q35.x86_64.xml index c6dd80de95..45e1a712d5 100644 --- a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml @@ -369,7 +369,7 @@ - Icelake-Server + Icelake-Server @@ -393,7 +393,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -415,6 +415,156 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-tcg.x86_64.xml index 4cec75464f..4d222bbbdf 100644 --- a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml @@ -407,7 +407,7 @@ - Icelake-Server + Icelake-Server @@ -430,7 +430,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -451,6 +451,143 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.0.0.x86_64.xml index 7bcc10e61c..f9250ef372 100644 --- a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml @@ -368,7 +368,7 @@ - Icelake-Server + Icelake-Server @@ -392,7 +392,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -414,6 +414,156 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-q35.x86_64.xml index 3fb82c81ad..0e40fdc47e 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -373,7 +373,7 @@ - Icelake-Server + Icelake-Server @@ -397,7 +397,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -419,6 +419,185 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-tcg.x86_64.xml index 7600b69f9f..bc29e8dda4 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -406,7 +406,7 @@ - Icelake-Server + Icelake-Server @@ -429,7 +429,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -450,6 +450,169 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v7 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.1.0.x86_64.xml index e8e1b804f6..a70abf2263 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -372,7 +372,7 @@ - Icelake-Server + Icelake-Server @@ -396,7 +396,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -418,6 +418,185 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index dfcaa22ea3..1cd20a0049 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -373,7 +373,7 @@ - Icelake-Server + Icelake-Server @@ -397,7 +397,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -419,6 +419,185 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-tcg.x86_64.xml index 43348c344c..ab6f60cfa1 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -406,7 +406,7 @@ - Icelake-Server + Icelake-Server @@ -429,7 +429,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -450,6 +450,169 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v7 + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index bf8f4ebba3..ff31f05915 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -372,7 +372,7 @@ - Icelake-Server + Icelake-Server @@ -396,7 +396,7 @@ - Icelake-Server-noTSX + Icelake-Server-noTSX @@ -418,6 +418,185 @@ + Icelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v6 + + + + + + + + + + + + + + + + + + + + + + + + + + + Icelake-Server-v7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + IvyBridge --=20 2.47.0 From nobody Sun Jan 26 12:26:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) 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 173231268374173.3079796360364; Fri, 22 Nov 2024 13:58:03 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id B37AD160D; Fri, 22 Nov 2024 16:58:02 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id AEA8D1859; Fri, 22 Nov 2024 16:35:03 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 22F5A1634; Fri, 22 Nov 2024 16:34:44 -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 A60BC15F8 for ; Fri, 22 Nov 2024 16:34:14 -0500 (EST) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-359-F3xoZJboP2OzNEH-ElrjmA-1; Fri, 22 Nov 2024 16:34:11 -0500 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 27BAA19560B4 for ; Fri, 22 Nov 2024 21:34:11 +0000 (UTC) Received: from orkuz (unknown [10.45.224.26]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id DF17F1955F43 for ; Fri, 22 Nov 2024 21:34:09 +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.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732311254; h=from:from: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; bh=tgJ85qk1+uMZCaClVQrvTu+gVc2s/0YYYviWDVeKSSA=; b=G3GERYJMobKegE8jUlGrsgF/2cDa+Kty8OBxdil9eCcHwJdu2hg/KqMGtTiksLBJUvwS2F 8kehRZ6QCAJIBI3vf2w9gc59ewYzLMmDYNXKrNjbCdwwrFvYMF/n+NGW5cZE6qTMUkxe1/ g6oeJV5gplDClty+y9A400ORt8HQPfA= X-MC-Unique: F3xoZJboP2OzNEH-ElrjmA-1 X-Mimecast-MFC-AGG-ID: F3xoZJboP2OzNEH-ElrjmA From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH v2 22/36] cpu_map: Add versions of Cascadelake-Server CPU model Date: Fri, 22 Nov 2024 22:33:02 +0100 Message-ID: <35f1333f3d54de83a584fb387d6c46b373342fe8.1732311125.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Rgva6vILvAV3ivIQbj8oKY_WWX1dti6K7BP9oOFc4iI_1732311251 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: L36LBCPCUC6GH57LC5KG2FZEGT5EFKNK X-Message-ID-Hash: L36LBCPCUC6GH57LC5KG2FZEGT5EFKNK X-MailFrom: jdenemar@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 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: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1732312685619116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark Reviewed-by: Daniel P. Berrang=C3=A9 --- Notes: Version 2: - Cascadelake-Server-v3 defined as Cascadelake-Server-noTSX - for all versioned models - canonical CPU models in domain capabilities src/cpu_map/index.xml | 5 + src/cpu_map/meson.build | 5 + src/cpu_map/x86_Cascadelake-Server-v1.xml | 6 + src/cpu_map/x86_Cascadelake-Server-v2.xml | 157 +++++++++++++++++ src/cpu_map/x86_Cascadelake-Server-v3.xml | 6 + src/cpu_map/x86_Cascadelake-Server-v4.xml | 156 +++++++++++++++++ src/cpu_map/x86_Cascadelake-Server-v5.xml | 158 ++++++++++++++++++ .../x86_64-cpuid-Xeon-Platinum-8268-host.xml | 2 +- .../x86_64-cpuid-Xeon-Platinum-9242-host.xml | 2 +- .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml | 67 +++++++- .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml | 111 +++++++++++- tests/domaincapsdata/qemu_5.2.0.x86_64.xml | 67 +++++++- .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml | 67 +++++++- .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml | 111 +++++++++++- tests/domaincapsdata/qemu_6.0.0.x86_64.xml | 67 +++++++- .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml | 139 ++++++++++++++- tests/domaincapsdata/qemu_6.1.0.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml | 139 ++++++++++++++- tests/domaincapsdata/qemu_6.2.0.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml | 139 ++++++++++++++- tests/domaincapsdata/qemu_7.0.0.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml | 139 ++++++++++++++- tests/domaincapsdata/qemu_7.1.0.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml | 82 ++++++++- .../qemu_7.2.0-tcg.x86_64+hvf.xml | 119 ++++++++++++- .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml | 119 ++++++++++++- tests/domaincapsdata/qemu_7.2.0.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml | 119 ++++++++++++- tests/domaincapsdata/qemu_8.0.0.x86_64.xml | 82 ++++++++- .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 93 ++++++++++- tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 93 ++++++++++- tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 88 +++++++++- tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 88 +++++++++- tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 83 ++++++++- .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 88 +++++++++- tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 83 ++++++++- 49 files changed, 4082 insertions(+), 82 deletions(-) create mode 100644 src/cpu_map/x86_Cascadelake-Server-v1.xml create mode 100644 src/cpu_map/x86_Cascadelake-Server-v2.xml create mode 100644 src/cpu_map/x86_Cascadelake-Server-v3.xml create mode 100644 src/cpu_map/x86_Cascadelake-Server-v4.xml create mode 100644 src/cpu_map/x86_Cascadelake-Server-v5.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index be39f356f1..e874a45b15 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -53,6 +53,11 @@ + + + + + diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index 87617101aa..55f9e99283 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -29,6 +29,11 @@ cpumap_data =3D [ 'x86_Broadwell-noTSX.xml', 'x86_Broadwell.xml', 'x86_Cascadelake-Server-noTSX.xml', + 'x86_Cascadelake-Server-v1.xml', + 'x86_Cascadelake-Server-v2.xml', + 'x86_Cascadelake-Server-v3.xml', + 'x86_Cascadelake-Server-v4.xml', + 'x86_Cascadelake-Server-v5.xml', 'x86_Cascadelake-Server.xml', 'x86_Conroe.xml', 'x86_Cooperlake-v1.xml', diff --git a/src/cpu_map/x86_Cascadelake-Server-v1.xml b/src/cpu_map/x86_Ca= scadelake-Server-v1.xml new file mode 100644 index 0000000000..fd89fbace9 --- /dev/null +++ b/src/cpu_map/x86_Cascadelake-Server-v1.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_Cascadelake-Server-v2.xml b/src/cpu_map/x86_Ca= scadelake-Server-v2.xml new file mode 100644 index 0000000000..75b3d3ef66 --- /dev/null +++ b/src/cpu_map/x86_Cascadelake-Server-v2.xml @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Cascadelake-Server-v3.xml b/src/cpu_map/x86_Ca= scadelake-Server-v3.xml new file mode 100644 index 0000000000..582a5ec95a --- /dev/null +++ b/src/cpu_map/x86_Cascadelake-Server-v3.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/x86_Cascadelake-Server-v4.xml b/src/cpu_map/x86_Ca= scadelake-Server-v4.xml new file mode 100644 index 0000000000..716fd81f79 --- /dev/null +++ b/src/cpu_map/x86_Cascadelake-Server-v4.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/cpu_map/x86_Cascadelake-Server-v5.xml b/src/cpu_map/x86_Ca= scadelake-Server-v5.xml new file mode 100644 index 0000000000..e331fc9684 --- /dev/null +++ b/src/cpu_map/x86_Cascadelake-Server-v5.xml @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml index 28e428aeb8..f1eb50bae3 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml @@ -1,6 +1,6 @@ x86_64 - Cascadelake-Server + Cascadelake-Server-v1 Intel diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml index a0bdd7f87d..069becffe4 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml @@ -1,6 +1,6 @@ x86_64 - Cascadelake-Server + Cascadelake-Server-v1 Intel diff --git a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-q35.x86_64.xml index 0f4ee36d0d..57b4a6069a 100644 --- a/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml @@ -93,7 +93,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -109,7 +109,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -124,6 +124,69 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_5.2.0-tcg.x86_64.xml index a365cd9db5..6358b8f227 100644 --- a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml @@ -133,7 +133,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -157,7 +157,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -184,6 +184,113 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.2.0.x86_64.xml index e7457b3433..48c89a0ad6 100644 --- a/tests/domaincapsdata/qemu_5.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.2.0.x86_64.xml @@ -92,7 +92,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -108,7 +108,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -123,6 +123,69 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-q35.x86_64.xml index 56e8aeda5f..7955a18190 100644 --- a/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml @@ -93,7 +93,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -109,7 +109,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -124,6 +124,69 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.0.0-tcg.x86_64.xml index e5c5dadd5c..94b4aeb166 100644 --- a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml @@ -134,7 +134,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -158,7 +158,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -185,6 +185,113 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.0.0.x86_64.xml index 4661ca8fc3..73a47cea6b 100644 --- a/tests/domaincapsdata/qemu_6.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.0.0.x86_64.xml @@ -92,7 +92,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -108,7 +108,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -123,6 +123,69 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-q35.x86_64.xml index c9785bf41a..8d41090780 100644 --- a/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml @@ -94,7 +94,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -110,7 +110,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -125,6 +125,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.1.0-tcg.x86_64.xml index 323f372ae1..8ad064a22c 100644 --- a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml @@ -134,7 +134,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -158,7 +158,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -185,6 +185,141 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.1.0.x86_64.xml index bb4f0ae925..83ae31017b 100644 --- a/tests/domaincapsdata/qemu_6.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.1.0.x86_64.xml @@ -93,7 +93,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -109,7 +109,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -124,6 +124,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-q35.x86_64.xml index 4f40568023..fa2a3c71b7 100644 --- a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml @@ -94,7 +94,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -110,7 +110,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -125,6 +125,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-tcg.x86_64.xml index 48e40883a0..0e8730b1ca 100644 --- a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml @@ -136,7 +136,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -160,7 +160,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -187,6 +187,141 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.2.0.x86_64.xml index 71b92316e5..66ee266274 100644 --- a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0.x86_64.xml @@ -93,7 +93,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -109,7 +109,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -124,6 +124,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-q35.x86_64.xml index 455e6fff84..d7d70ca91a 100644 --- a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml @@ -95,7 +95,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -111,7 +111,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -126,6 +126,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-tcg.x86_64.xml index 1e54fd398d..4dfced633e 100644 --- a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml @@ -137,7 +137,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -161,7 +161,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -188,6 +188,141 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.0.0.x86_64.xml index 6531049aff..4492a6046a 100644 --- a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0.x86_64.xml @@ -94,7 +94,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -110,7 +110,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -125,6 +125,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-q35.x86_64.xml index cde60502d5..46cfed5f9d 100644 --- a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml @@ -96,7 +96,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -112,7 +112,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -127,6 +127,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-tcg.x86_64.xml index a0b652df0e..8be62f8414 100644 --- a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml @@ -137,7 +137,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -161,7 +161,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -188,6 +188,141 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.1.0.x86_64.xml index 97bb824317..f976cc9868 100644 --- a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0.x86_64.xml @@ -95,7 +95,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -111,7 +111,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -126,6 +126,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-q35.x86_64.xml index 9ba9ac5008..446a4ea7b3 100644 --- a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml @@ -101,7 +101,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -117,7 +117,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -132,6 +132,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml b/tests/dom= aincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml index 849756739a..388e9f0341 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml @@ -110,7 +110,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -130,7 +130,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -153,6 +153,121 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-tcg.x86_64.xml index 849756739a..388e9f0341 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml @@ -110,7 +110,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -130,7 +130,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -153,6 +153,121 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.2.0.x86_64.xml index 3edab09abd..eac02f497a 100644 --- a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0.x86_64.xml @@ -100,7 +100,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -116,7 +116,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -131,6 +131,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-q35.x86_64.xml index 7cfe1538d1..e0fd74a139 100644 --- a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml @@ -101,7 +101,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -117,7 +117,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -132,6 +132,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-tcg.x86_64.xml index 7a35a7ae24..be5e5b16b0 100644 --- a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml @@ -114,7 +114,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -134,7 +134,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -157,6 +157,121 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.0.0.x86_64.xml index f63dc64c38..9573f80845 100644 --- a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml @@ -100,7 +100,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -116,7 +116,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -131,6 +131,84 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + + + + + Cascadelake-Server-v5 + + + + + + + + + + + + + + Conroe Co= operlake diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index 8638cb6eb2..1b4ceacb16 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -103,7 +103,7 @@ - Cascadelake-Server + Cascadelake-Server @@ -119,7 +119,7 @@ - Cascadelake-Server-noTSX + Cascadelake-Server-noTSX @@ -134,6 +134,85 @@ + Cascadelake-Server-v1 + + + + + + + + + + + + + + + + Cascadelake-Server-v2 + + + + + + + + + + + + + + + + + Cascadelake-Server-v3 + + + + + + + + + + + + + + + Cascadelake-Server-v4 + + + + + + + + + + + +