cpu_map: Drop 'monitor' from modern x86 CPU models

The feature is never enabled by default on KVM and QEMU dropped it from
the models long ago.

https://bugzilla.redhat.com/show_bug.cgi?id=1798004

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
This commit is contained in:
Jiri Denemark 2020-11-12 21:10:14 +01:00
parent 7e0a310498
commit a32cc82793
34 changed files with 36 additions and 13 deletions

View File

@ -33,7 +33,7 @@
<feature name='misalignsse'/>
<feature name='mmx'/>
<feature name='mmxext'/>
<feature name='monitor'/>
<feature name='monitor' removed='yes'/>
<feature name='movbe'/>
<feature name='msr'/>
<feature name='mtrr'/>

View File

@ -34,7 +34,7 @@
<feature name='misalignsse'/>
<feature name='mmx'/>
<feature name='mmxext'/>
<feature name='monitor'/>
<feature name='monitor' removed='yes'/>
<feature name='movbe'/>
<feature name='msr'/>
<feature name='mtrr'/>

View File

@ -33,7 +33,7 @@
<feature name='misalignsse'/>
<feature name='mmx'/>
<feature name='mmxext'/>
<feature name='monitor'/>
<feature name='monitor' removed='yes'/>
<feature name='movbe'/>
<feature name='msr'/>
<feature name='mtrr'/>

View File

@ -18,7 +18,7 @@
<feature name='mce'/>
<feature name='misalignsse'/>
<feature name='mmx'/>
<feature name='monitor'/>
<feature name='monitor' removed='yes'/>
<feature name='msr'/>
<feature name='mtrr'/>
<feature name='nx'/>

View File

@ -2,6 +2,7 @@
<model fallback='forbid'>EPYC</model>
<vendor>AMD</vendor>
<feature policy='require' name='ht'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='osxsave'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='cmp_legacy'/>

View File

@ -3,6 +3,7 @@
<model>EPYC</model>
<vendor>AMD</vendor>
<feature name='ht'/>
<feature name='monitor'/>
<feature name='osxsave'/>
<feature name='xsaves'/>
<feature name='cmp_legacy'/>

View File

@ -2,6 +2,7 @@
<model fallback='forbid'>EPYC-IBPB</model>
<vendor>AMD</vendor>
<feature policy='require' name='ht'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='osxsave'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='cmp_legacy'/>

View File

@ -3,6 +3,7 @@
<model>EPYC-IBPB</model>
<vendor>AMD</vendor>
<feature name='ht'/>
<feature name='monitor'/>
<feature name='osxsave'/>
<feature name='xsaves'/>
<feature name='cmp_legacy'/>

View File

@ -8,7 +8,7 @@
<feature policy='require' name='cmp_legacy'/>
<feature policy='require' name='npt'/>
<feature policy='require' name='nrip-save'/>
<feature policy='disable' name='monitor'/>
<feature policy='disable' name='rdtscp'/>
<feature policy='disable' name='svm'/>
<feature policy='disable' name='monitor'/>
</cpu>

View File

@ -8,6 +8,6 @@
<feature policy='require' name='cmp_legacy'/>
<feature policy='require' name='npt'/>
<feature policy='require' name='nrip-save'/>
<feature policy='disable' name='monitor'/>
<feature policy='disable' name='svm'/>
<feature policy='disable' name='monitor'/>
</cpu>

View File

@ -2,6 +2,7 @@
<model fallback='forbid'>Dhyana</model>
<vendor>Hygon</vendor>
<feature policy='require' name='ht'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='osxsave'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='cmp_legacy'/>

View File

@ -3,6 +3,7 @@
<model>Dhyana</model>
<vendor>Hygon</vendor>
<feature name='ht'/>
<feature name='monitor'/>
<feature name='osxsave'/>
<feature name='xsaves'/>
<feature name='cmp_legacy'/>

View File

@ -9,6 +9,6 @@
<feature policy='require' name='virt-ssbd'/>
<feature policy='require' name='npt'/>
<feature policy='require' name='nrip-save'/>
<feature policy='disable' name='monitor'/>
<feature policy='disable' name='svm'/>
<feature policy='disable' name='monitor'/>
</cpu>

View File

@ -3,6 +3,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ht'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='mmxext'/>
<feature policy='require' name='fxsr_opt'/>
<feature policy='require' name='pdpe1gb'/>

View File

@ -4,6 +4,7 @@
<vendor>AMD</vendor>
<feature name='vme'/>
<feature name='ht'/>
<feature name='monitor'/>
<feature name='mmxext'/>
<feature name='fxsr_opt'/>
<feature name='pdpe1gb'/>

View File

@ -3,6 +3,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ht'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='mmxext'/>
<feature policy='require' name='fxsr_opt'/>
<feature policy='require' name='pdpe1gb'/>

View File

@ -4,6 +4,7 @@
<vendor>AMD</vendor>
<feature name='vme'/>
<feature name='ht'/>
<feature name='monitor'/>
<feature name='mmxext'/>
<feature name='fxsr_opt'/>
<feature name='pdpe1gb'/>

View File

@ -15,6 +15,6 @@
<feature policy='require' name='3dnowprefetch'/>
<feature policy='require' name='osvw'/>
<feature policy='require' name='npt'/>
<feature policy='disable' name='monitor'/>
<feature policy='disable' name='rdtscp'/>
<feature policy='disable' name='monitor'/>
</cpu>

View File

@ -3,6 +3,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ht'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='mmxext'/>
<feature policy='require' name='fxsr_opt'/>
<feature policy='require' name='pdpe1gb'/>

View File

@ -15,8 +15,8 @@
<feature policy='require' name='osvw'/>
<feature policy='require' name='npt'/>
<feature policy='require' name='nrip-save'/>
<feature policy='disable' name='monitor'/>
<feature policy='disable' name='nx'/>
<feature policy='disable' name='rdtscp'/>
<feature policy='disable' name='svm'/>
<feature policy='disable' name='monitor'/>
</cpu>

View File

@ -2,6 +2,7 @@
<model fallback='forbid'>EPYC</model>
<vendor>AMD</vendor>
<feature policy='require' name='ht'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='osxsave'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='cmp_legacy'/>

View File

@ -3,6 +3,7 @@
<model>EPYC</model>
<vendor>AMD</vendor>
<feature name='ht'/>
<feature name='monitor'/>
<feature name='osxsave'/>
<feature name='xsaves'/>
<feature name='cmp_legacy'/>

View File

@ -8,6 +8,6 @@
<feature policy='require' name='cmp_legacy'/>
<feature policy='require' name='npt'/>
<feature policy='require' name='nrip-save'/>
<feature policy='disable' name='monitor'/>
<feature policy='disable' name='sha-ni'/>
<feature policy='disable' name='monitor'/>
</cpu>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -34,6 +34,7 @@
<vendor>AMD</vendor>
<feature policy='require' name='acpi'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='monitor'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='erms'/>
<feature policy='require' name='mpx'/>

View File

@ -13,9 +13,9 @@ QEMU_AUDIO_DRV=none \
-object secret,id=masterKey0,format=raw,\
file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
-machine pc-i440fx-4.0,accel=tcg,usb=off,dump-guest-core=off \
-cpu EPYC,acpi=on,ss=on,hypervisor=on,erms=on,mpx=on,pcommit=on,clwb=on,pku=on,\
la57=on,3dnowext=on,3dnow=on,npt=on,vme=off,fma=off,avx=off,f16c=off,\
rdrand=off,avx2=off,rdseed=off,sha-ni=off,xsavec=off,fxsr_opt=off,\
-cpu EPYC,acpi=on,ss=on,monitor=on,hypervisor=on,erms=on,mpx=on,pcommit=on,\
clwb=on,pku=on,la57=on,3dnowext=on,3dnow=on,npt=on,vme=off,fma=off,avx=off,\
f16c=off,rdrand=off,avx2=off,rdseed=off,sha-ni=off,xsavec=off,fxsr_opt=off,\
misalignsse=off,3dnowprefetch=off,osvw=off,topoext=off,nrip-save=off \
-m 214 \
-overcommit mem-lock=off \