From nobody Sat Jan 4 23:22:21 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1734528462907594.8576767984943; Wed, 18 Dec 2024 05:27:42 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id DD92A156F; Wed, 18 Dec 2024 08:27:41 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 97E0D163E; Wed, 18 Dec 2024 08:24:14 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 26A3C1603; Wed, 18 Dec 2024 08:24:08 -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 6D633160A for ; Wed, 18 Dec 2024 08:23:41 -0500 (EST) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-492-pD8U9E-0NSOZcFd3EpxCYg-1; Wed, 18 Dec 2024 08:23:39 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9941B1955F54 for ; Wed, 18 Dec 2024 13:23:38 +0000 (UTC) Received: from orkuz (unknown [10.43.3.115]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 21F4D300F9B5 for ; Wed, 18 Dec 2024 13:23:37 +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=-1.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734528221; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f5SsVNLHJhr+SNWRihn7w5b4egtzbo6xpX1YCySN5+c=; b=YiiznaDLQ/HRsz67m4uZOiCkp/FjJxf1RdBObpmDOTQqqtzV+vpG8VUz20kGygx4GvE9OA OJwdT6TyuB/wpE9i6mo9qb9TOw6CBfMkTXry1q8i3aX6sp47fnEUFxByLwy9UaoIpt80BN /9UJtqgO4Akjq53hXYmIM7oYiP4RWCg= X-MC-Unique: pD8U9E-0NSOZcFd3EpxCYg-1 X-Mimecast-MFC-AGG-ID: pD8U9E-0NSOZcFd3EpxCYg From: Jiri Denemark To: devel@lists.libvirt.org Subject: [PATCH 6/7] cpu_map: Add ibpb-brtype CPU feature Date: Wed, 18 Dec 2024 14:23:22 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 9EBPT8weqED49iretVb3Ru5TYShrzcVHBBWeu4GuTF4_1734528218 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 3BN27G3DD4E4EWPL5NHIXE6K76YKYIID X-Message-ID-Hash: 3BN27G3DD4E4EWPL5NHIXE6K76YKYIID X-MailFrom: jdenemar@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1734528464755116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jiri Denemark --- src/cpu_map/x86_features.xml | 3 +++ tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 1 + tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 1 + .../cpu-host-model-fallback-kvm.x86_64-latest.args | 2 +- .../qemuxmlconfdata/cpu-host-model-features.x86_64-latest.args | 2 +- tests/qemuxmlconfdata/cpu-host-model-kvm.x86_64-latest.args | 2 +- .../cpu-host-model-nofallback-kvm.x86_64-latest.args | 2 +- 7 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 4cbe094cfd..ef0c45927e 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -792,6 +792,9 @@ + + + =20 diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index d5db9af49e..98c522f0fc 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -68,6 +68,7 @@ + diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index 05a5ce4bee..0b5162781e 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -67,6 +67,7 @@ + diff --git a/tests/qemuxmlconfdata/cpu-host-model-fallback-kvm.x86_64-lates= t.args b/tests/qemuxmlconfdata/cpu-host-model-fallback-kvm.x86_64-latest.ar= gs index f4ea2d366e..a0247e4310 100644 --- a/tests/qemuxmlconfdata/cpu-host-model-fallback-kvm.x86_64-latest.args +++ b/tests/qemuxmlconfdata/cpu-host-model-fallback-kvm.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 pc,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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don,mds-no=3Don,psch= ange-mc-no=3Don,gds-no=3Don,rfds-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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,ibpb-brtype=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don= ,mds-no=3Don,pschange-mc-no=3Don,gds-no=3Don,rfds-no=3Don,xsaves=3Doff \ -m size=3D219136k \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}'= \ -overcommit mem-lock=3Doff \ diff --git a/tests/qemuxmlconfdata/cpu-host-model-features.x86_64-latest.ar= gs b/tests/qemuxmlconfdata/cpu-host-model-features.x86_64-latest.args index cb9ace043d..a60ce4dee0 100644 --- a/tests/qemuxmlconfdata/cpu-host-model-features.x86_64-latest.args +++ b/tests/qemuxmlconfdata/cpu-host-model-features.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 pc,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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don,mds-no=3Don,psch= ange-mc-no=3Don,gds-no=3Don,rfds-no=3Don,xsaves=3Doff,abm=3Don,ds=3Don,invt= sc=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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,ibpb-brtype=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don= ,mds-no=3Don,pschange-mc-no=3Don,gds-no=3Don,rfds-no=3Don,xsaves=3Doff,abm= =3Don,ds=3Don,invtsc=3Doff \ -m size=3D219136k \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}'= \ -overcommit mem-lock=3Doff \ diff --git a/tests/qemuxmlconfdata/cpu-host-model-kvm.x86_64-latest.args b/= tests/qemuxmlconfdata/cpu-host-model-kvm.x86_64-latest.args index 01c05d8c9c..e2e6d08246 100644 --- a/tests/qemuxmlconfdata/cpu-host-model-kvm.x86_64-latest.args +++ b/tests/qemuxmlconfdata/cpu-host-model-kvm.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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don,mds-no=3Don,psch= ange-mc-no=3Don,gds-no=3Don,rfds-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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,ibpb-brtype=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don= ,mds-no=3Don,pschange-mc-no=3Don,gds-no=3Don,rfds-no=3Don,xsaves=3Doff \ -m size=3D219136k \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}'= \ -overcommit mem-lock=3Doff \ diff --git a/tests/qemuxmlconfdata/cpu-host-model-nofallback-kvm.x86_64-lat= est.args b/tests/qemuxmlconfdata/cpu-host-model-nofallback-kvm.x86_64-lates= t.args index f4ea2d366e..a0247e4310 100644 --- a/tests/qemuxmlconfdata/cpu-host-model-nofallback-kvm.x86_64-latest.args +++ b/tests/qemuxmlconfdata/cpu-host-model-nofallback-kvm.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 pc,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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don,mds-no=3Don,psch= ange-mc-no=3Don,gds-no=3Don,rfds-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,overflow-rec= ov=3Don,succor=3Don,amd-ssbd=3Don,virt-ssbd=3Don,lbrv=3Don,tsc-scale=3Don,v= mcb-clean=3Don,flushbyasid=3Don,pause-filter=3Don,pfthreshold=3Don,v-vmsave= -vmload=3Don,vgif=3Don,svme-addr-chk=3Don,lfence-always-serializing=3Don,nu= ll-sel-clr-base=3Don,ibpb-brtype=3Don,rdctl-no=3Don,skip-l1dfl-vmentry=3Don= ,mds-no=3Don,pschange-mc-no=3Don,gds-no=3Don,rfds-no=3Don,xsaves=3Doff \ -m size=3D219136k \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}'= \ -overcommit mem-lock=3Doff \ --=20 2.47.1