cpu_map: Add missing x86 feature "v-vmsave-vmload"

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Tim Wiederhake 2022-10-19 15:42:49 +02:00
parent f2c04b2367
commit f110a88432
22 changed files with 24 additions and 7 deletions

View File

@ -658,6 +658,9 @@
<feature name='avic'> <feature name='avic'>
<cpuid eax_in='0x8000000a' edx='0x00002000'/> <cpuid eax_in='0x8000000a' edx='0x00002000'/>
</feature> </feature>
<feature name='v-vmsave-vmload'>
<cpuid eax_in='0x8000000a' edx='0x00008000'/>
</feature>
<feature name='svme-addr-chk'> <feature name='svme-addr-chk'>
<cpuid eax_in='0x8000000a' edx='0x10000000'/> <cpuid eax_in='0x8000000a' edx='0x10000000'/>
</feature> </feature>

View File

@ -6,5 +6,5 @@
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01423408' edx='0x00000000'/> <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01423408' edx='0x00000000'/>
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00004000' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00004000' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x000034f6'/> <cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x0000b4f6'/>
</cpudata> </cpudata>

View File

@ -28,6 +28,7 @@
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='avic'/> <feature policy='require' name='avic'/>
<feature policy='require' name='v-vmsave-vmload'/>
<feature policy='require' name='rdctl-no'/> <feature policy='require' name='rdctl-no'/>
<feature policy='require' name='skip-l1dfl-vmentry'/> <feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='mds-no'/> <feature policy='require' name='mds-no'/>

View File

@ -30,6 +30,7 @@
<feature name='pause-filter'/> <feature name='pause-filter'/>
<feature name='pfthreshold'/> <feature name='pfthreshold'/>
<feature name='avic'/> <feature name='avic'/>
<feature name='v-vmsave-vmload'/>
<feature name='rdctl-no'/> <feature name='rdctl-no'/>
<feature name='skip-l1dfl-vmentry'/> <feature name='skip-l1dfl-vmentry'/>
<feature name='mds-no'/> <feature name='mds-no'/>

View File

@ -5,5 +5,5 @@
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c2300c' edx='0x00000000'/> <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c2300c' edx='0x00000000'/>
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x000034f6'/> <cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x0000b4f6'/>
</cpudata> </cpudata>

View File

@ -27,4 +27,5 @@
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='avic'/> <feature policy='require' name='avic'/>
<feature policy='require' name='v-vmsave-vmload'/>
</cpu> </cpu>

View File

@ -29,4 +29,5 @@
<feature name='pause-filter'/> <feature name='pause-filter'/>
<feature name='pfthreshold'/> <feature name='pfthreshold'/>
<feature name='avic'/> <feature name='avic'/>
<feature name='v-vmsave-vmload'/>
</cpu> </cpu>

View File

@ -5,5 +5,5 @@
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c2300c' edx='0x08000000'/> <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c2300c' edx='0x08000000'/>
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x000034f6'/> <cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x0000b4f6'/>
</cpudata> </cpudata>

View File

@ -27,5 +27,6 @@
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='avic'/> <feature policy='require' name='avic'/>
<feature policy='require' name='v-vmsave-vmload'/>
<feature policy='disable' name='rdtscp'/> <feature policy='disable' name='rdtscp'/>
</cpu> </cpu>

View File

@ -29,4 +29,5 @@
<feature name='pause-filter'/> <feature name='pause-filter'/>
<feature name='pfthreshold'/> <feature name='pfthreshold'/>
<feature name='avic'/> <feature name='avic'/>
<feature name='v-vmsave-vmload'/>
</cpu> </cpu>

View File

@ -5,5 +5,5 @@
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c2300c' edx='0x00000000'/> <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c2300c' edx='0x00000000'/>
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x000034f6'/> <cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x0000b4f6'/>
</cpudata> </cpudata>

View File

@ -27,4 +27,5 @@
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='avic'/> <feature policy='require' name='avic'/>
<feature policy='require' name='v-vmsave-vmload'/>
</cpu> </cpu>

View File

@ -29,4 +29,5 @@
<feature name='pause-filter'/> <feature name='pause-filter'/>
<feature name='pfthreshold'/> <feature name='pfthreshold'/>
<feature name='avic'/> <feature name='avic'/>
<feature name='v-vmsave-vmload'/>
</cpu> </cpu>

View File

@ -6,5 +6,5 @@
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c23008' edx='0x00000000'/> <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01c23008' edx='0x00000000'/>
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000005' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x000034f6'/> <cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x0000b4f6'/>
</cpudata> </cpudata>

View File

@ -27,4 +27,5 @@
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='avic'/> <feature policy='require' name='avic'/>
<feature policy='require' name='v-vmsave-vmload'/>
</cpu> </cpu>

View File

@ -29,4 +29,5 @@
<feature name='pause-filter'/> <feature name='pause-filter'/>
<feature name='pfthreshold'/> <feature name='pfthreshold'/>
<feature name='avic'/> <feature name='avic'/>
<feature name='v-vmsave-vmload'/>
</cpu> </cpu>

View File

@ -6,5 +6,5 @@
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01423408' edx='0x00000000'/> <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01423408' edx='0x00000000'/>
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00008000' ecx='0x00000000' edx='0x00000000'/> <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x00008000' ecx='0x00000000' edx='0x00000000'/>
<cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x000034f6'/> <cpuid eax_in='0x8000000a' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x0000b4f6'/>
</cpudata> </cpudata>

View File

@ -27,6 +27,7 @@
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='avic'/> <feature policy='require' name='avic'/>
<feature policy='require' name='v-vmsave-vmload'/>
<feature policy='require' name='rdctl-no'/> <feature policy='require' name='rdctl-no'/>
<feature policy='require' name='skip-l1dfl-vmentry'/> <feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='mds-no'/> <feature policy='require' name='mds-no'/>

View File

@ -29,6 +29,7 @@
<feature name='pause-filter'/> <feature name='pause-filter'/>
<feature name='pfthreshold'/> <feature name='pfthreshold'/>
<feature name='avic'/> <feature name='avic'/>
<feature name='v-vmsave-vmload'/>
<feature name='rdctl-no'/> <feature name='rdctl-no'/>
<feature name='skip-l1dfl-vmentry'/> <feature name='skip-l1dfl-vmentry'/>
<feature name='mds-no'/> <feature name='mds-no'/>

View File

@ -61,6 +61,7 @@
<feature policy='require' name='vmcb-clean'/> <feature policy='require' name='vmcb-clean'/>
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='v-vmsave-vmload'/>
<feature policy='require' name='svme-addr-chk'/> <feature policy='require' name='svme-addr-chk'/>
<feature policy='require' name='rdctl-no'/> <feature policy='require' name='rdctl-no'/>
<feature policy='require' name='skip-l1dfl-vmentry'/> <feature policy='require' name='skip-l1dfl-vmentry'/>

View File

@ -60,6 +60,7 @@
<feature policy='require' name='vmcb-clean'/> <feature policy='require' name='vmcb-clean'/>
<feature policy='require' name='pause-filter'/> <feature policy='require' name='pause-filter'/>
<feature policy='require' name='pfthreshold'/> <feature policy='require' name='pfthreshold'/>
<feature policy='require' name='v-vmsave-vmload'/>
<feature policy='require' name='svme-addr-chk'/> <feature policy='require' name='svme-addr-chk'/>
<feature policy='require' name='rdctl-no'/> <feature policy='require' name='rdctl-no'/>
<feature policy='require' name='skip-l1dfl-vmentry'/> <feature policy='require' name='skip-l1dfl-vmentry'/>

View File

@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest1/.config \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-QEMUGuest1/master-key.aes"}' \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-QEMUGuest1/master-key.aes"}' \
-machine q35,usb=off,dump-guest-core=off,memory-backend=pc.ram \ -machine q35,usb=off,dump-guest-core=off,memory-backend=pc.ram \
-accel kvm \ -accel kvm \
-cpu EPYC-Rome,x2apic=on,tsc-deadline=on,hypervisor=on,tsc-adjust=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,cmp-legacy=on,amd-ssbd=on,virt-ssbd=on,lbrv=on,tsc-scale=on,vmcb-clean=on,pause-filter=on,pfthreshold=on,svme-addr-chk=on,rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on \ -cpu EPYC-Rome,x2apic=on,tsc-deadline=on,hypervisor=on,tsc-adjust=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,cmp-legacy=on,amd-ssbd=on,virt-ssbd=on,lbrv=on,tsc-scale=on,vmcb-clean=on,pause-filter=on,pfthreshold=on,v-vmsave-vmload=on,svme-addr-chk=on,rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on \
-m 214 \ -m 214 \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}' \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}' \
-overcommit mem-lock=off \ -overcommit mem-lock=off \