From nobody Mon Feb 9 16:02:23 2026 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 --- 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