From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699540397811672.0813517120474; Thu, 9 Nov 2023 06:33:17 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 59D481A9D; Thu, 9 Nov 2023 09:33:16 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 05AB01A28; Thu, 9 Nov 2023 09:31:10 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 6A9E51A19; Thu, 9 Nov 2023 09:31: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 30E5219F4 for ; Thu, 9 Nov 2023 09:31:02 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-512-2jjVW7OVMpaE2Np1QMK9lQ-1; Thu, 09 Nov 2023 09:31:00 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3BC9B811E7E for ; Thu, 9 Nov 2023 14:31:00 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id C239F492BFA; Thu, 9 Nov 2023 14:30: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.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 2jjVW7OVMpaE2Np1QMK9lQ-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 01/12] cpu_map: Add missing feature "gds-no" Date: Thu, 9 Nov 2023 15:30:47 +0100 Message-Id: <20231109143058.242619-2-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: 5Z5JX3YQTR66DPQ55V5GQ7GS7DC575OD X-Message-ID-Hash: 5Z5JX3YQTR66DPQ55V5GQ7GS7DC575OD X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699540398835100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 3 +++ tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 1 + tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 1 + tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 5845a2331b..d136d78368 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -775,6 +775,9 @@ + + + =20 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 bb3578d5d7..f711a51044 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -69,6 +69,7 @@ + diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.2.0.x86_64.xml index 1be5ff2c93..bc060e21b6 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -68,6 +68,7 @@ + diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args b/tes= ts/qemuxml2argvdata/cpu-host-model.x86_64-latest.args index dba1d9b65a..a9b8f5a7d4 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/va= r/lib/libvirt/qemu/domain--1-QEMUGuest1/master-key.aes"}' \ -machine q35,usb=3Doff,dump-guest-core=3Doff,memory-backend=3Dpc.ram,acpi= =3Doff \ -accel kvm \ --cpu EPYC-Rome,x2apic=3Don,tsc-deadline=3Don,hypervisor=3Don,tsc-adjust=3D= on,stibp=3Don,arch-capabilities=3Don,ssbd=3Don,cmp-legacy=3Don,amd-ssbd=3Do= n,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,vmcb-clean=3Don,pause-filter=3Don= ,pfthreshold=3Don,v-vmsave-vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-= always-serializing=3Don,null-sel-clr-base=3Don,rdctl-no=3Don,skip-l1dfl-vme= ntry=3Don,mds-no=3Don,pschange-mc-no=3Don,xsaves=3Doff \ +-cpu EPYC-Rome,x2apic=3Don,tsc-deadline=3Don,hypervisor=3Don,tsc-adjust=3D= on,stibp=3Don,arch-capabilities=3Don,ssbd=3Don,cmp-legacy=3Don,amd-ssbd=3Do= n,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,vmcb-clean=3Don,pause-filter=3Don= ,pfthreshold=3Don,v-vmsave-vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-= always-serializing=3Don,null-sel-clr-base=3Don,rdctl-no=3Don,skip-l1dfl-vme= ntry=3Don,mds-no=3Don,pschange-mc-no=3Don,gds-no=3Don,xsaves=3Doff \ -m size=3D219136k \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}'= \ -overcommit mem-lock=3Doff \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699540587423660.9080577058808; Thu, 9 Nov 2023 06:36:27 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 5A0261A3A; Thu, 9 Nov 2023 09:36:26 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 5D1C81AB8; Thu, 9 Nov 2023 09:31:29 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id DBB6C19EF; Thu, 9 Nov 2023 09:31:03 -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 F29F11A14 for ; Thu, 9 Nov 2023 09:31:02 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-173-9ww-fC4PO_a9Z9a_cjpzJg-1; Thu, 09 Nov 2023 09:31:01 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DAF79101A5C9 for ; Thu, 9 Nov 2023 14:31:00 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6D778492BFA; Thu, 9 Nov 2023 14:31:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 9ww-fC4PO_a9Z9a_cjpzJg-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 02/12] cpu_map: Add missing feature "amx-complex" Date: Thu, 9 Nov 2023 15:30:48 +0100 Message-Id: <20231109143058.242619-3-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: PB3CMQPCOPUSC7RFV64SMXYWN7RUIZSO X-Message-ID-Hash: PB3CMQPCOPUSC7RFV64SMXYWN7RUIZSO X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699540587873100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index d136d78368..978b04e615 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -444,6 +444,9 @@ + + + --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 169954067076151.29254260685673; Thu, 9 Nov 2023 06:37:50 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id B36661A66; Thu, 9 Nov 2023 09:37:49 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6318B1A27; Thu, 9 Nov 2023 09:31:37 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 263491A1C; Thu, 9 Nov 2023 09:31:06 -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 EB3DE19EF for ; Thu, 9 Nov 2023 09:31:04 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-38-tHqNOVi1OMGBjDgE0PIcow-1; Thu, 09 Nov 2023 09:31:01 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 86371185A781 for ; Thu, 9 Nov 2023 14:31:01 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 18C85492BFA; Thu, 9 Nov 2023 14:31:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: tHqNOVi1OMGBjDgE0PIcow-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 03/12] cpu_map: No longer ignore vmx- features in sync_qemu_features_i386.py Date: Thu, 9 Nov 2023 15:30:49 +0100 Message-Id: <20231109143058.242619-4-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: BT4VQQ3V5AUJYDWUUTQXP73B2Z6YYHMF X-Message-ID-Hash: BT4VQQ3V5AUJYDWUUTQXP73B2Z6YYHMF X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699540672470100001 Some guest OSes require cpu features from the vmx-* family, e.g. vmx-xsaves. Up to now, libvirt ignored these features as they were not required yet. qemu does not automatically enable e.g. "vmx-xsaves" when requesting "xsaves": qmp=3D"qemu-kvm -machine accel=3Dkvm -nodefaults -nographic -qmp stdio" $(qmp) <<-EOF | jq | grep "xsaves" { "execute": "qmp_capabilities" } { "execute": "query-cpu-model-expansion", "arguments": { "type": "full", "model": { "name": "Skylake-Client-v1", "props": { "xsaves": true } `# set to "true" or "false"` } } } { "execute": "quit" } EOF with xsaves "false": "xsaves": false, "vmx-xsaves": false, with xsaves "true": "xsaves": true, "vmx-xsaves": false, Stop ignoring vmx-* features and begin adding them to libvirt's database. Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/sync_qemu_features_i386.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu_map/sync_qemu_features_i386.py b/src/cpu_map/sync_qemu= _features_i386.py index 9e77d44bae..dcd58cd590 100755 --- a/src/cpu_map/sync_qemu_features_i386.py +++ b/src/cpu_map/sync_qemu_features_i386.py @@ -99,7 +99,7 @@ def ignore_feature(feature): =20 name =3D feature["name"] =20 - if name.startswith("x-") or name.startswith("vmx-"): + if name.startswith("x-"): return True =20 if name in ignored_features: --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699540845202814.3244883904795; Thu, 9 Nov 2023 06:40:45 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 055671A42; Thu, 9 Nov 2023 09:40:43 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 7E5431A6F; Thu, 9 Nov 2023 09:31:45 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 8E9401A1C; Thu, 9 Nov 2023 09:31:07 -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 7C98E19F4 for ; Thu, 9 Nov 2023 09:31:04 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-171-z_Ha85hoPf-QEGvzfj6-4w-1; Thu, 09 Nov 2023 09:31:02 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 330BF1019C88 for ; Thu, 9 Nov 2023 14:31:02 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id B8AC6492BFD; Thu, 9 Nov 2023 14:31:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: z_Ha85hoPf-QEGvzfj6-4w-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 04/12] cpu_map: Add missing vmx features from MSR 0x480 Date: Thu, 9 Nov 2023 15:30:50 +0100 Message-Id: <20231109143058.242619-5-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: C62LV6WGBUINJXVWKXO4ZIK5F2TSBQF2 X-Message-ID-Hash: C62LV6WGBUINJXVWKXO4ZIK5F2TSBQF2 X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699540845597100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 10 ++++++++++ tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml | 2 ++ tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml | 2 ++ .../cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml | 2 ++ .../x86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 2 ++ .../x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml | 2 ++ tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 2 ++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 2 ++ tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 2 ++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 2 ++ .../qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args | 2 +- .../qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 978b04e615..407cf65acc 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -786,4 +786,14 @@ + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index 2214d448ef..d294f3bc85 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -7,4 +7,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index bbe0919706..717ef008d4 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -18,6 +18,8 @@ + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 1d91c3efa8..adfb882881 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -8,4 +8,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index c89e0e5350..8dd5ebbc05 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -13,4 +13,6 @@ + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index 57f8ebabba..9e0de97f63 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -6,4 +6,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 4774d39c7e..4056f4bcac 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -15,6 +15,8 @@ + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index cd082feffe..4b1c06e18f 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -7,4 +7,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index 10c256ee1e..1593e37302 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -19,4 +19,6 @@ + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index ecac749b97..63fcf0cf43 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -19,4 +19,6 @@ + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index 3cbd234f9b..03df6677e1 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -59,6 +59,8 @@ + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index 274c1ea8d8..a4230b2465 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -58,6 +58,8 @@ + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index f17a775344..ce1a0a9cfe 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -59,6 +59,8 @@ + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index a2e5dc2be4..0f21fb43c9 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -58,6 +58,8 @@ + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index 945163795d..8caaa1872d 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index 95c88f1ace..930336672c 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699541070541315.17657942817755; Thu, 9 Nov 2023 06:44:30 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 19E961A6A; Thu, 9 Nov 2023 09:44:29 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6510B1A85; Thu, 9 Nov 2023 09:31:55 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id B1DDB1A53; Thu, 9 Nov 2023 09:31:11 -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 04A7A19FA for ; Thu, 9 Nov 2023 09:31:04 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-472-DISkwdo3P2ufRhl_1WdlxQ-1; Thu, 09 Nov 2023 09:31:03 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D2D021019C9F for ; Thu, 9 Nov 2023 14:31:02 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 656B9492BFA; Thu, 9 Nov 2023 14:31: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.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: DISkwdo3P2ufRhl_1WdlxQ-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 05/12] cpu_map: Add missing vmx features from MSR 0x485 Date: Thu, 9 Nov 2023 15:30:51 +0100 Message-Id: <20231109143058.242619-6-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: R4MAPFAPZLPQRMKR6Y2VLJWAOY7Y7IKI X-Message-ID-Hash: R4MAPFAPZLPQRMKR6Y2VLJWAOY7Y7IKI X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699541071293100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 19 +++++++++++++++++++ .../x86_64-cpuid-Atom-P5362-enabled.xml | 1 + .../x86_64-cpuid-Atom-P5362-json.xml | 3 +++ .../x86_64-cpuid-Cooperlake-enabled.xml | 1 + .../x86_64-cpuid-Cooperlake-json.xml | 3 +++ .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-json.xml | 3 +++ ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 3 +++ ...-cpuid-baseline-Cooperlake+Cascadelake.xml | 3 +++ .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 3 +++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 3 +++ .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 3 +++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 3 +++ .../cpu-host-model.x86_64-4.2.0.args | 2 +- .../cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 52 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 407cf65acc..c17a76aeb8 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -796,4 +796,23 @@ + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index d294f3bc85..2508e56694 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -8,4 +8,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index 717ef008d4..2c5a1e3dfe 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -20,6 +20,9 @@ + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index adfb882881..1e56a64fef 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -9,4 +9,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index 8dd5ebbc05..082c526606 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -15,4 +15,7 @@ + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index 9e0de97f63..db7f67163a 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -7,4 +7,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 4056f4bcac..748817c533 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -17,6 +17,9 @@ + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index 4b1c06e18f..d404229290 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -8,4 +8,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index 1593e37302..3c46045396 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -21,4 +21,7 @@ + + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index 63fcf0cf43..afd525ada0 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -21,4 +21,7 @@ + + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index 03df6677e1..bf65363e24 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -61,6 +61,9 @@ + + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index a4230b2465..e5b0a97a90 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -60,6 +60,9 @@ + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index ce1a0a9cfe..e6aea45834 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -61,6 +61,9 @@ + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index 0f21fb43c9..b3cd733217 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -60,6 +60,9 @@ + + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index 8caaa1872d..dd5d3fdeb8 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index 930336672c..472d1f70ef 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699541598730485.90990931501915; Thu, 9 Nov 2023 06:53:18 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id A41D51A8C; Thu, 9 Nov 2023 09:53:17 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 7300A1AFB; Thu, 9 Nov 2023 09:32:15 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 9BADF19F9; Thu, 9 Nov 2023 09:31:15 -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 C271B1A14 for ; Thu, 9 Nov 2023 09:31:05 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-379-eogA-nEdOVaM8YYcj-X6mg-1; Thu, 09 Nov 2023 09:31:03 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 99BD6101A54C for ; Thu, 9 Nov 2023 14:31:03 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1219C492BFC; Thu, 9 Nov 2023 14:31: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.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: eogA-nEdOVaM8YYcj-X6mg-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 06/12] cpu_map: Add missing vmx features from MSR 0x48B Date: Thu, 9 Nov 2023 15:30:52 +0100 Message-Id: <20231109143058.242619-7-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: OZMZLJZAJRY7OEDYHPO7ORAKH6AHSYQA X-Message-ID-Hash: OZMZLJZAJRY7OEDYHPO7ORAKH6AHSYQA X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699541599743100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 64 +++++++++++++++++++ .../x86_64-cpuid-Atom-P5362-enabled.xml | 1 + .../x86_64-cpuid-Atom-P5362-json.xml | 16 +++++ .../x86_64-cpuid-Cooperlake-enabled.xml | 1 + .../x86_64-cpuid-Cooperlake-json.xml | 17 +++++ .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-json.xml | 15 +++++ ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 17 +++++ ...-cpuid-baseline-Cooperlake+Cascadelake.xml | 17 +++++ .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 15 +++++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 15 +++++ .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 15 +++++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 15 +++++ .../cpu-host-model.x86_64-4.2.0.args | 2 +- .../cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 212 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index c17a76aeb8..7b6ff44c20 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -815,4 +815,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index 2508e56694..7a1f047382 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -9,4 +9,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index 2c5a1e3dfe..bb4259058a 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -23,6 +23,22 @@ + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 1e56a64fef..01d81a64a6 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -10,4 +10,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index 082c526606..bb1d2f628c 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -18,4 +18,21 @@ + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index db7f67163a..1bf7882b2e 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -8,4 +8,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 748817c533..e150ef4004 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -20,6 +20,21 @@ + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index d404229290..b7ffbb2708 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -9,4 +9,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index 3c46045396..2813c72012 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -24,4 +24,21 @@ + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index afd525ada0..ca6387e390 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -24,4 +24,21 @@ + + + + + + + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index bf65363e24..398a027e92 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -64,6 +64,21 @@ + + + + + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index e5b0a97a90..446bf915a5 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -63,6 +63,21 @@ + + + + + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index e6aea45834..c1dd623709 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -64,6 +64,21 @@ + + + + + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index b3cd733217..4618fd24e4 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -63,6 +63,21 @@ + + + + + + + + + + + + + + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index dd5d3fdeb8..22e4023886 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index 472d1f70ef..df890b9f89 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699541305986899.6019476158492; Thu, 9 Nov 2023 06:48:25 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id C67E51ADA; Thu, 9 Nov 2023 09:48:24 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 2D8771A8D; Thu, 9 Nov 2023 09:32:04 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 8FB341A6D; Thu, 9 Nov 2023 09:31:15 -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 76ADC19F9 for ; Thu, 9 Nov 2023 09:31:06 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-644-M20VMPhMMGCHdezQs-qTaQ-1; Thu, 09 Nov 2023 09:31:04 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 46CDA1C382B3 for ; Thu, 9 Nov 2023 14:31:04 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id CCAFC492BFA; Thu, 9 Nov 2023 14:31:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: M20VMPhMMGCHdezQs-qTaQ-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 07/12] cpu_map: Add missing vmx features from MSR 0x48C Date: Thu, 9 Nov 2023 15:30:53 +0100 Message-Id: <20231109143058.242619-8-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: NQXTCWO4KG33XMW2QR4NO4USCLODSCGM X-Message-ID-Hash: NQXTCWO4KG33XMW2QR4NO4USCLODSCGM X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699541306634100001 Differences from qemu: * "vmx-ept-uc" (bit 8) and "vmx-ept-wb" (bit 14) are not added to qemu's list of named features yet, but used in several qemu cpu models never the less. Add to libvirt regardless. * "vmx-invvpid-single-context" (bit 41) is erroneously called "vmx-invept-single-context" in qemu. This is the name of the feature associated with bit 25 in both libvirt and qemu. * "vmx-invvpid-single-context-noglobals" (bit 43) is erroneously called "vmx-invept-single-context-noglobals". Use the correct name. Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 53 +++++++++++++++++++ .../x86_64-cpuid-Atom-P5362-enabled.xml | 1 + .../x86_64-cpuid-Atom-P5362-json.xml | 11 ++++ .../x86_64-cpuid-Cooperlake-enabled.xml | 1 + .../x86_64-cpuid-Cooperlake-json.xml | 11 ++++ .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-json.xml | 11 ++++ ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 11 ++++ ...-cpuid-baseline-Cooperlake+Cascadelake.xml | 11 ++++ .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 11 ++++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 11 ++++ .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 11 ++++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 11 ++++ .../cpu-host-model.x86_64-4.2.0.args | 2 +- .../cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 158 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 7b6ff44c20..f37b817013 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -879,4 +879,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index 7a1f047382..195bf88765 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -10,4 +10,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index bb4259058a..d7d8d89d42 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -39,6 +39,17 @@ + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 01d81a64a6..7acddcae81 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -11,4 +11,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index bb1d2f628c..1dee592f23 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -35,4 +35,15 @@ + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index 1bf7882b2e..1309da972b 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -9,4 +9,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index e150ef4004..8e590da2c9 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -35,6 +35,17 @@ + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index b7ffbb2708..a9bf08018a 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -10,4 +10,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index 2813c72012..edb4dfbb5c 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -41,4 +41,15 @@ + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index ca6387e390..0918fc96cb 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -41,4 +41,15 @@ + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index 398a027e92..563c2cbd24 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -79,6 +79,17 @@ + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index 446bf915a5..2ee9422dd3 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -78,6 +78,17 @@ + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index c1dd623709..fbb7549ef5 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -79,6 +79,17 @@ + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index 4618fd24e4..e8cd88a755 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -78,6 +78,17 @@ + + + + + + + + + + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index 22e4023886..7f06d6c410 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index df890b9f89..030d129e66 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699542094905645.4562493626478; Thu, 9 Nov 2023 07:01:34 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id C891B1AA9; Thu, 9 Nov 2023 10:01:33 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 4CBE31B0A; Thu, 9 Nov 2023 09:32:34 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 40F691AB8; Thu, 9 Nov 2023 09:31:23 -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 6EA8219F7 for ; Thu, 9 Nov 2023 09:31:08 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-374-39wWM98oOT-0TxLRc6T10g-1; Thu, 09 Nov 2023 09:31:05 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E4865101A550 for ; Thu, 9 Nov 2023 14:31:04 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 77DA7492BFC; Thu, 9 Nov 2023 14:31: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.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 39wWM98oOT-0TxLRc6T10g-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 08/12] cpu_map: Add missing vmx features from MSR 0x48D Date: Thu, 9 Nov 2023 15:30:54 +0100 Message-Id: <20231109143058.242619-9-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: GL55TERK3EZAH3O3U5TPKTCUHDKTNBJU X-Message-ID-Hash: GL55TERK3EZAH3O3U5TPKTCUHDKTNBJU X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699542098100100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 16 ++++++++++++++++ .../x86_64-cpuid-Atom-P5362-enabled.xml | 1 + .../cputestdata/x86_64-cpuid-Atom-P5362-json.xml | 5 +++++ .../x86_64-cpuid-Cooperlake-enabled.xml | 1 + .../cputestdata/x86_64-cpuid-Cooperlake-json.xml | 5 +++++ .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-json.xml | 4 ++++ .../x86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 5 +++++ ..._64-cpuid-baseline-Cooperlake+Cascadelake.xml | 5 +++++ tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 4 ++++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 4 ++++ tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 4 ++++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 4 ++++ .../cpu-host-model.x86_64-4.2.0.args | 2 +- .../cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 62 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index f37b817013..6e427c3998 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -932,4 +932,20 @@ + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index 195bf88765..52c23315b3 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -11,4 +11,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index d7d8d89d42..4583c000b7 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -50,6 +50,11 @@ + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 7acddcae81..0720cfa332 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -12,4 +12,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index 1dee592f23..d6f4317d69 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -46,4 +46,9 @@ + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index 1309da972b..8cdc42a401 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -10,4 +10,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 8e590da2c9..9c2014affc 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -46,6 +46,10 @@ + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index a9bf08018a..dabcd6c793 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -11,4 +11,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index edb4dfbb5c..5128582940 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -52,4 +52,9 @@ + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index 0918fc96cb..36db05d0a1 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -52,4 +52,9 @@ + + + + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index 563c2cbd24..5d1e1ef6c3 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -90,6 +90,10 @@ + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index 2ee9422dd3..00687b8a5e 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -89,6 +89,10 @@ + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index fbb7549ef5..83beaad6ac 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -90,6 +90,10 @@ + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index e8cd88a755..1fe5c0196f 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -89,6 +89,10 @@ + + + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index 7f06d6c410..2611cf3265 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index 030d129e66..02baa07418 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699541897532836.5638467587546; Thu, 9 Nov 2023 06:58:17 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 165211ADA; Thu, 9 Nov 2023 09:58:16 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id D65961A2E; Thu, 9 Nov 2023 09:32:24 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 11DE41A34; Thu, 9 Nov 2023 09:31:22 -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 EC23219F4 for ; Thu, 9 Nov 2023 09:31:07 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-493-ZZHZGHNhPL-CoI-jIco9pA-1; Thu, 09 Nov 2023 09:31:05 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 90AEC28B72FD for ; Thu, 9 Nov 2023 14:31:05 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 23645492BFC; Thu, 9 Nov 2023 14:31:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: ZZHZGHNhPL-CoI-jIco9pA-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 09/12] cpu_map: Add missing vmx features from MSR 0x48E Date: Thu, 9 Nov 2023 15:30:55 +0100 Message-Id: <20231109143058.242619-10-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: KLBQ5QIJXW3TALDZ5Q5MNUASEDE4SWKS X-Message-ID-Hash: KLBQ5QIJXW3TALDZ5Q5MNUASEDE4SWKS X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699541899268100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 64 +++++++++++++++++++ .../x86_64-cpuid-Atom-P5362-enabled.xml | 1 + .../x86_64-cpuid-Atom-P5362-json.xml | 21 ++++++ .../x86_64-cpuid-Cooperlake-enabled.xml | 1 + .../x86_64-cpuid-Cooperlake-json.xml | 21 ++++++ .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-json.xml | 21 ++++++ ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 21 ++++++ ...-cpuid-baseline-Cooperlake+Cascadelake.xml | 21 ++++++ .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 21 ++++++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 21 ++++++ .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 21 ++++++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 21 ++++++ .../cpu-host-model.x86_64-4.2.0.args | 2 +- .../cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 259 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 6e427c3998..2583f1c825 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -948,4 +948,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index 52c23315b3..b8dc58f048 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -12,4 +12,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index 4583c000b7..9c115e2bfc 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -55,6 +55,27 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 0720cfa332..c1dc3191ae 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -13,4 +13,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index d6f4317d69..da24c5f06e 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -51,4 +51,25 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index 8cdc42a401..e37e437d37 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -11,4 +11,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 9c2014affc..247dbaa4cd 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -50,6 +50,27 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index dabcd6c793..52763c7ddb 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -12,4 +12,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index 5128582940..f38ff7de22 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -57,4 +57,25 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index 36db05d0a1..66327d5abb 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -57,4 +57,25 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index 5d1e1ef6c3..713ecbcb08 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -94,6 +94,27 @@ + + + + + + + + + + + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index 00687b8a5e..0aef295df2 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -93,6 +93,27 @@ + + + + + + + + + + + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index 83beaad6ac..e3dd4a82d0 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -94,6 +94,27 @@ + + + + + + + + + + + + + + + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index 1fe5c0196f..54edcf4632 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -93,6 +93,27 @@ + + + + + + + + + + + + + + + + + + + + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index 2611cf3265..d7d30c733c 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index 02baa07418..707749596f 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699542672332208.81920650908205; Thu, 9 Nov 2023 07:11:12 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id DA3021B37; Thu, 9 Nov 2023 10:11:04 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id A72021A73; Thu, 9 Nov 2023 09:32:51 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id DE2651A32; Thu, 9 Nov 2023 09:31: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 3C0041A1C for ; Thu, 9 Nov 2023 09:31:08 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-547-k0E-1UaxMnie2xAk4j2ciw-1; Thu, 09 Nov 2023 09:31:06 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3C12081B568 for ; Thu, 9 Nov 2023 14:31:06 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id C2EB9492BFC; Thu, 9 Nov 2023 14:31:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: k0E-1UaxMnie2xAk4j2ciw-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 10/12] cpu_map: Add missing vmx features from MSR 0x48F Date: Thu, 9 Nov 2023 15:30:56 +0100 Message-Id: <20231109143058.242619-11-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: YKSIA7HRQ22Y5A4ALMRBMUCIT4SEKL55 X-Message-ID-Hash: YKSIA7HRQ22Y5A4ALMRBMUCIT4SEKL55 X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699542673339100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 34 +++++++++++++++++++ .../x86_64-cpuid-Atom-P5362-enabled.xml | 1 + .../x86_64-cpuid-Atom-P5362-json.xml | 7 ++++ .../x86_64-cpuid-Cooperlake-enabled.xml | 1 + .../x86_64-cpuid-Cooperlake-json.xml | 7 ++++ .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-json.xml | 7 ++++ ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 7 ++++ ...-cpuid-baseline-Cooperlake+Cascadelake.xml | 7 ++++ .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 7 ++++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 7 ++++ .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 7 ++++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 7 ++++ .../cpu-host-model.x86_64-4.2.0.args | 2 +- .../cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 103 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 2583f1c825..396f081974 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -1012,4 +1012,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index b8dc58f048..f0118636a1 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -13,4 +13,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index 9c115e2bfc..11c0861f77 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -76,6 +76,13 @@ + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index c1dc3191ae..11a028e719 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -14,4 +14,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index da24c5f06e..3e605edf38 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -72,4 +72,11 @@ + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index e37e437d37..3e0f72a109 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -12,4 +12,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 247dbaa4cd..763587169e 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -71,6 +71,13 @@ + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index 52763c7ddb..44aec843bf 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -13,4 +13,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index f38ff7de22..763c99b009 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -78,4 +78,11 @@ + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index 66327d5abb..1949f2e496 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -78,4 +78,11 @@ + + + + + + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index 713ecbcb08..6d99e9c076 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -115,6 +115,13 @@ + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index 0aef295df2..5d48e3d573 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -114,6 +114,13 @@ + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index e3dd4a82d0..1424d5832f 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -115,6 +115,13 @@ + + + + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index 54edcf4632..ab7aac7304 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -114,6 +114,13 @@ + + + + + + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index d7d30c733c..0bfcf26b34 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index 707749596f..bae9a211f3 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699542876985573.3400707603904; Thu, 9 Nov 2023 07:14:36 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id E15371B08; Thu, 9 Nov 2023 10:14:35 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 708E41ACA; Thu, 9 Nov 2023 09:32:59 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 33BE41A2C; Thu, 9 Nov 2023 09:32:00 -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 26D431A7F for ; Thu, 9 Nov 2023 09:31:15 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-80-oVUrzX_UMt6YzqX_DlQjcg-1; Thu, 09 Nov 2023 09:31:11 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DCC4228B72F8 for ; Thu, 9 Nov 2023 14:31:06 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6E729492BFA; Thu, 9 Nov 2023 14:31:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: oVUrzX_UMt6YzqX_DlQjcg-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 11/12] cpu_map: Add missing vmx features from MSR 0x490 Date: Thu, 9 Nov 2023 15:30:57 +0100 Message-Id: <20231109143058.242619-12-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: VHX5G6VJEJ4XLHUMZS5EPNPVJM7OD2BK X-Message-ID-Hash: VHX5G6VJEJ4XLHUMZS5EPNPVJM7OD2BK X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699542878422100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 25 +++++++++++++++++++ .../x86_64-cpuid-Atom-P5362-enabled.xml | 1 + .../x86_64-cpuid-Atom-P5362-json.xml | 4 +++ .../x86_64-cpuid-Cooperlake-enabled.xml | 1 + .../x86_64-cpuid-Cooperlake-json.xml | 4 +++ .../x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + .../x86_64-cpuid-Core-i7-8550U-json.xml | 4 +++ ...86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + .../x86_64-cpuid-Xeon-Platinum-9242-json.xml | 4 +++ ...-cpuid-baseline-Cooperlake+Cascadelake.xml | 4 +++ .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 4 +++ tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 4 +++ .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 4 +++ tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 4 +++ .../cpu-host-model.x86_64-4.2.0.args | 2 +- .../cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 67 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 396f081974..6769ef1cca 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -1046,4 +1046,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index f0118636a1..d957d2a155 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -14,4 +14,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index 11c0861f77..b867dbd449 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -83,6 +83,10 @@ + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 11a028e719..3ca004ac7d 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -15,4 +15,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index 3e605edf38..2fcca6a12e 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -79,4 +79,8 @@ + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index 3e0f72a109..a1b9fc286c 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -13,4 +13,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 763587169e..4b4dcd5e70 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -78,6 +78,10 @@ + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index 44aec843bf..3f49dfb594 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -14,4 +14,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index 763c99b009..935efce2d8 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -85,4 +85,8 @@ + + + + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index 1949f2e496..53d3d4209a 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -85,4 +85,8 @@ + + + + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index 6d99e9c076..f272b33bb4 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -122,6 +122,10 @@ + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index 5d48e3d573..41d5181222 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -121,6 +121,10 @@ + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index 1424d5832f..317b7ff1f7 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -122,6 +122,10 @@ + + + + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index ab7aac7304..90cb0ce36c 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -121,6 +121,10 @@ + + + + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index 0bfcf26b34..0658650d82 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don,vmx-ent= ry-noload-debugctl=3Don,vmx-entry-ia32e-mode=3Don,vmx-entry-load-pat=3Don,v= mx-entry-load-efer=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index bae9a211f3..a5013ed2f9 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don,vmx-ent= ry-noload-debugctl=3Don,vmx-entry-ia32e-mode=3Don,vmx-entry-load-pat=3Don,v= mx-entry-load-efer=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Mon May 13 19:20:01 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699542382659801.1260248279299; Thu, 9 Nov 2023 07:06:22 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 623271B03; Thu, 9 Nov 2023 10:06:21 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id D6A441A5E; Thu, 9 Nov 2023 09:32:42 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 5CC1019F7; Thu, 9 Nov 2023 09:31:23 -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 D952B1A20 for ; Thu, 9 Nov 2023 09:31:09 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-482-ZzBhHvAhPw606Fmb1uhnGg-1; Thu, 09 Nov 2023 09:31:07 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8824D85C1A4 for ; Thu, 9 Nov 2023 14:31:07 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1B297492BFA; Thu, 9 Nov 2023 14:31:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: ZzBhHvAhPw606Fmb1uhnGg-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [libvirt PATCH 12/12] cpu_map: Add missing vmx features from MSR 0x491 Date: Thu, 9 Nov 2023 15:30:58 +0100 Message-Id: <20231109143058.242619-13-twiederh@redhat.com> In-Reply-To: <20231109143058.242619-1-twiederh@redhat.com> References: <20231109143058.242619-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: GQV52PPBNNVJAME5DWOHS63G5MIGECTJ X-Message-ID-Hash: GQV52PPBNNVJAME5DWOHS63G5MIGECTJ X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699542384184100001 Signed-off-by: Tim Wiederhake Reviewed-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 4 ++++ tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml | 1 + tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml | 1 + .../x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml | 1 + tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml | 1 + tests/domaincapsdata/qemu_4.2.0.x86_64.xml | 1 + tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml | 1 + tests/domaincapsdata/qemu_5.0.0.x86_64.xml | 1 + tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args | 2 +- tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args | 2 +- 16 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 6769ef1cca..b79ed579b2 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -1071,4 +1071,8 @@ + + + + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml index d957d2a155..80c24facdf 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml @@ -15,4 +15,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml b/tests/cpu= testdata/x86_64-cpuid-Atom-P5362-json.xml index b867dbd449..ff7ac5b391 100644 --- a/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml @@ -87,6 +87,7 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml b/tests/= cputestdata/x86_64-cpuid-Cooperlake-enabled.xml index 3ca004ac7d..c42a69d102 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-enabled.xml @@ -16,4 +16,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml b/tests/cpu= testdata/x86_64-cpuid-Cooperlake-json.xml index 2fcca6a12e..9dbb92e74f 100644 --- a/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Cooperlake-json.xml @@ -83,4 +83,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml b/tes= ts/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml index a1b9fc286c..19dd4f6f0c 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-enabled.xml @@ -14,4 +14,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml b/tests/= cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml index 4b4dcd5e70..e933265248 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i7-8550U-json.xml @@ -82,6 +82,7 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml = b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml index 3f49dfb594..b830c52b8c 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-enabled.xml @@ -15,4 +15,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml b/t= ests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml index 935efce2d8..ac0e520767 100644 --- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml +++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-json.xml @@ -89,4 +89,5 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake= .xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml index 53d3d4209a..f9e9c476b5 100644 --- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml +++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Cascadelake.xml @@ -89,4 +89,5 @@ + diff --git a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_4.2.0-q35.x86_64.xml index f272b33bb4..152f201ff9 100644 --- a/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml @@ -126,6 +126,7 @@ + qemu64 diff --git a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_4.2.0.x86_64.xml index 41d5181222..8b7cf44d6d 100644 --- a/tests/domaincapsdata/qemu_4.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_4.2.0.x86_64.xml @@ -125,6 +125,7 @@ + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_5.0.0-q35.x86_64.xml index 317b7ff1f7..1d29a40f74 100644 --- a/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml @@ -126,6 +126,7 @@ + qemu64 diff --git a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_5.0.0.x86_64.xml index 90cb0ce36c..f3b3adb19e 100644 --- a/tests/domaincapsdata/qemu_5.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.x86_64.xml @@ -125,6 +125,7 @@ + qemu64 diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args index 0658650d82..aacba803e8 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-4.2,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don,vmx-ent= ry-noload-debugctl=3Don,vmx-entry-ia32e-mode=3Don,vmx-entry-load-pat=3Don,v= mx-entry-load-efer=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don,vmx-ent= ry-noload-debugctl=3Don,vmx-entry-ia32e-mode=3Don,vmx-entry-load-pat=3Don,v= mx-entry-load-efer=3Don,vmx-eptp-switching=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ diff --git a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args b/test= s/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args index a5013ed2f9..a2415bb667 100644 --- a/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args +++ b/tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args @@ -12,7 +12,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -object secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/d= omain--1-QEMUGuest1/master-key.aes \ -machine pc-q35-5.0,usb=3Doff,dump-guest-core=3Doff \ -accel kvm \ --cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don,vmx-ent= ry-noload-debugctl=3Don,vmx-entry-ia32e-mode=3Don,vmx-entry-load-pat=3Don,v= mx-entry-load-efer=3Don \ +-cpu Skylake-Client-IBRS,ss=3Don,vmx=3Don,hypervisor=3Don,tsc-adjust=3Don,= clflushopt=3Don,umip=3Don,md-clear=3Don,stibp=3Don,arch-capabilities=3Don,s= sbd=3Don,xsaves=3Don,pdpe1gb=3Don,skip-l1dfl-vmentry=3Don,pschange-mc-no=3D= on,vmx-ins-outs=3Don,vmx-true-ctls=3Don,vmx-store-lma=3Don,vmx-activity-hlt= =3Don,vmx-vmwrite-vmexit-fields=3Don,vmx-apicv-xapic=3Don,vmx-ept=3Don,vmx-= desc-exit=3Don,vmx-rdtscp-exit=3Don,vmx-apicv-x2apic=3Don,vmx-vpid=3Don,vmx= -wbinvd-exit=3Don,vmx-unrestricted-guest=3Don,vmx-rdrand-exit=3Don,vmx-invp= cid-exit=3Don,vmx-vmfunc=3Don,vmx-shadow-vmcs=3Don,vmx-rdseed-exit=3Don,vmx= -pml=3Don,vmx-xsaves=3Don,vmx-invvpid=3Don,vmx-invvpid-single-addr=3Don,vmx= -invvpid-all-context=3Don,vmx-ept-execonly=3Don,vmx-page-walk-4=3Don,vmx-ep= t-2mb=3Don,vmx-ept-1gb=3Don,vmx-invept=3Don,vmx-eptad=3Don,vmx-invept-singl= e-context=3Don,vmx-invept-all-context=3Don,vmx-intr-exit=3Don,vmx-nmi-exit= =3Don,vmx-vnmi=3Don,vmx-preemption-timer=3Don,vmx-vintr-pending=3Don,vmx-ts= c-offset=3Don,vmx-hlt-exit=3Don,vmx-invlpg-exit=3Don,vmx-mwait-exit=3Don,vm= x-rdpmc-exit=3Don,vmx-rdtsc-exit=3Don,vmx-cr3-load-noexit=3Don,vmx-cr3-stor= e-noexit=3Don,vmx-cr8-load-exit=3Don,vmx-cr8-store-exit=3Don,vmx-flexpriori= ty=3Don,vmx-vnmi-pending=3Don,vmx-movdr-exit=3Don,vmx-io-exit=3Don,vmx-io-b= itmap=3Don,vmx-mtf=3Don,vmx-msr-bitmap=3Don,vmx-monitor-exit=3Don,vmx-pause= -exit=3Don,vmx-secondary-ctls=3Don,vmx-exit-nosave-debugctl=3Don,vmx-exit-a= ck-intr=3Don,vmx-exit-save-pat=3Don,vmx-exit-load-pat=3Don,vmx-exit-save-ef= er=3Don,vmx-exit-load-efer=3Don,vmx-exit-save-preemption-timer=3Don,vmx-ent= ry-noload-debugctl=3Don,vmx-entry-ia32e-mode=3Don,vmx-entry-load-pat=3Don,v= mx-entry-load-efer=3Don,vmx-eptp-switching=3Don \ -m size=3D219136k \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --=20 2.39.2 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org