mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
cpu_map: Add missing vmx features from MSR 0x48B
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
a1862e3de2
commit
94eacd5a5f
@ -815,4 +815,68 @@
|
||||
<feature name='vmx-zero-len-inject'>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x40000000'/>
|
||||
</feature>
|
||||
|
||||
<feature name='vmx-apicv-xapic'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000001'/>
|
||||
</feature>
|
||||
<feature name='vmx-ept'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000002'/>
|
||||
</feature>
|
||||
<feature name='vmx-desc-exit'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000004'/>
|
||||
</feature>
|
||||
<feature name='vmx-rdtscp-exit'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000008'/>
|
||||
</feature>
|
||||
<feature name='vmx-apicv-x2apic'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000010'/>
|
||||
</feature>
|
||||
<feature name='vmx-vpid'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000020'/>
|
||||
</feature>
|
||||
<feature name='vmx-wbinvd-exit'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000040'/>
|
||||
</feature>
|
||||
<feature name='vmx-unrestricted-guest'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000080'/>
|
||||
</feature>
|
||||
<feature name='vmx-apicv-register'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000100'/>
|
||||
</feature>
|
||||
<feature name='vmx-apicv-vid'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000200'/>
|
||||
</feature>
|
||||
<feature name='vmx-ple'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000400'/>
|
||||
</feature>
|
||||
<feature name='vmx-rdrand-exit'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00000800'/>
|
||||
</feature>
|
||||
<feature name='vmx-invpcid-exit'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00001000'/>
|
||||
</feature>
|
||||
<feature name='vmx-vmfunc'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00002000'/>
|
||||
</feature>
|
||||
<feature name='vmx-shadow-vmcs'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00004000'/>
|
||||
</feature>
|
||||
<feature name='vmx-encls-exit'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00008000'/>
|
||||
</feature>
|
||||
<feature name='vmx-rdseed-exit'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00010000'/>
|
||||
</feature>
|
||||
<feature name='vmx-pml'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00020000'/>
|
||||
</feature>
|
||||
<feature name='vmx-xsaves'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00100000'/>
|
||||
</feature>
|
||||
<feature name='vmx-tsc-scaling'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x02000000'/>
|
||||
</feature>
|
||||
<feature name='vmx-enable-user-wait-pause'>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x04000000'/>
|
||||
</feature>
|
||||
</cpus>
|
||||
|
@ -9,4 +9,5 @@
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x0000006b'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00136bff'/>
|
||||
</cpudata>
|
||||
|
@ -23,6 +23,22 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-apicv-register'/>
|
||||
<feature policy='require' name='vmx-apicv-vid'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
<feature policy='disable' name='mpx'/>
|
||||
<feature policy='disable' name='core-capability'/>
|
||||
<feature policy='disable' name='pdpe1gb'/>
|
||||
|
@ -10,4 +10,5 @@
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x000001eb'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00137bff'/>
|
||||
</cpudata>
|
||||
|
@ -18,4 +18,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-apicv-register'/>
|
||||
<feature policy='require' name='vmx-apicv-vid'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
</cpu>
|
||||
|
@ -8,4 +8,5 @@
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x00000048'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x001378ff'/>
|
||||
</cpudata>
|
||||
|
@ -20,6 +20,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
<feature policy='disable' name='hle'/>
|
||||
<feature policy='disable' name='rtm'/>
|
||||
</cpu>
|
||||
|
@ -9,4 +9,5 @@
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x000000eb'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
<msr index='0x48b' edx='0x00000000' eax='0x00137bff'/>
|
||||
</cpudata>
|
||||
|
@ -24,4 +24,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-apicv-register'/>
|
||||
<feature policy='require' name='vmx-apicv-vid'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
</cpu>
|
||||
|
@ -24,4 +24,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-apicv-register'/>
|
||||
<feature policy='require' name='vmx-apicv-vid'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
</cpu>
|
||||
|
@ -64,6 +64,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
</mode>
|
||||
<mode name='custom' supported='yes'>
|
||||
<model usable='yes' vendor='unknown'>qemu64</model>
|
||||
|
@ -63,6 +63,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
</mode>
|
||||
<mode name='custom' supported='yes'>
|
||||
<model usable='yes' vendor='unknown'>qemu64</model>
|
||||
|
@ -64,6 +64,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
</mode>
|
||||
<mode name='custom' supported='yes'>
|
||||
<model usable='yes' vendor='unknown'>qemu64</model>
|
||||
|
@ -63,6 +63,21 @@
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='require' name='vmx-apicv-xapic'/>
|
||||
<feature policy='require' name='vmx-ept'/>
|
||||
<feature policy='require' name='vmx-desc-exit'/>
|
||||
<feature policy='require' name='vmx-rdtscp-exit'/>
|
||||
<feature policy='require' name='vmx-apicv-x2apic'/>
|
||||
<feature policy='require' name='vmx-vpid'/>
|
||||
<feature policy='require' name='vmx-wbinvd-exit'/>
|
||||
<feature policy='require' name='vmx-unrestricted-guest'/>
|
||||
<feature policy='require' name='vmx-rdrand-exit'/>
|
||||
<feature policy='require' name='vmx-invpcid-exit'/>
|
||||
<feature policy='require' name='vmx-vmfunc'/>
|
||||
<feature policy='require' name='vmx-shadow-vmcs'/>
|
||||
<feature policy='require' name='vmx-rdseed-exit'/>
|
||||
<feature policy='require' name='vmx-pml'/>
|
||||
<feature policy='require' name='vmx-xsaves'/>
|
||||
</mode>
|
||||
<mode name='custom' supported='yes'>
|
||||
<model usable='yes' vendor='unknown'>qemu64</model>
|
||||
|
@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-QEMUGuest1/.config \
|
||||
-object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain--1-QEMUGuest1/master-key.aes \
|
||||
-machine pc-q35-4.2,usb=off,dump-guest-core=off \
|
||||
-accel kvm \
|
||||
-cpu Skylake-Client-IBRS,ss=on,vmx=on,hypervisor=on,tsc-adjust=on,clflushopt=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,vmx-ins-outs=on,vmx-true-ctls=on,vmx-store-lma=on,vmx-activity-hlt=on,vmx-vmwrite-vmexit-fields=on \
|
||||
-cpu Skylake-Client-IBRS,ss=on,vmx=on,hypervisor=on,tsc-adjust=on,clflushopt=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,vmx-ins-outs=on,vmx-true-ctls=on,vmx-store-lma=on,vmx-activity-hlt=on,vmx-vmwrite-vmexit-fields=on,vmx-apicv-xapic=on,vmx-ept=on,vmx-desc-exit=on,vmx-rdtscp-exit=on,vmx-apicv-x2apic=on,vmx-vpid=on,vmx-wbinvd-exit=on,vmx-unrestricted-guest=on,vmx-rdrand-exit=on,vmx-invpcid-exit=on,vmx-vmfunc=on,vmx-shadow-vmcs=on,vmx-rdseed-exit=on,vmx-pml=on,vmx-xsaves=on \
|
||||
-m size=219136k \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 1,sockets=1,cores=1,threads=1 \
|
||||
|
@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-QEMUGuest1/.config \
|
||||
-object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain--1-QEMUGuest1/master-key.aes \
|
||||
-machine pc-q35-5.0,usb=off,dump-guest-core=off \
|
||||
-accel kvm \
|
||||
-cpu Skylake-Client-IBRS,ss=on,vmx=on,hypervisor=on,tsc-adjust=on,clflushopt=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,vmx-ins-outs=on,vmx-true-ctls=on,vmx-store-lma=on,vmx-activity-hlt=on,vmx-vmwrite-vmexit-fields=on \
|
||||
-cpu Skylake-Client-IBRS,ss=on,vmx=on,hypervisor=on,tsc-adjust=on,clflushopt=on,umip=on,md-clear=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,vmx-ins-outs=on,vmx-true-ctls=on,vmx-store-lma=on,vmx-activity-hlt=on,vmx-vmwrite-vmexit-fields=on,vmx-apicv-xapic=on,vmx-ept=on,vmx-desc-exit=on,vmx-rdtscp-exit=on,vmx-apicv-x2apic=on,vmx-vpid=on,vmx-wbinvd-exit=on,vmx-unrestricted-guest=on,vmx-rdrand-exit=on,vmx-invpcid-exit=on,vmx-vmfunc=on,vmx-shadow-vmcs=on,vmx-rdseed-exit=on,vmx-pml=on,vmx-xsaves=on \
|
||||
-m size=219136k \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 1,sockets=1,cores=1,threads=1 \
|
||||
|
Loading…
Reference in New Issue
Block a user