mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-31 05:47:15 +03:00
cpu_map: Add missing vmx features from MSR 0x485
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
3590bb344e
commit
a1862e3de2
@ -796,4 +796,23 @@
|
||||
<feature name='vmx-any-errcode'>
|
||||
<msr index='0x480' edx='0x01000000' eax='0x00000000'/>
|
||||
</feature>
|
||||
|
||||
<feature name='vmx-store-lma'>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x00000020'/>
|
||||
</feature>
|
||||
<feature name='vmx-activity-hlt'>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x00000040'/>
|
||||
</feature>
|
||||
<feature name='vmx-activity-shutdown'>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x00000080'/>
|
||||
</feature>
|
||||
<feature name='vmx-activity-wait-sipi'>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x00000100'/>
|
||||
</feature>
|
||||
<feature name='vmx-vmwrite-vmexit-fields'>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000000'/>
|
||||
</feature>
|
||||
<feature name='vmx-zero-len-inject'>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x40000000'/>
|
||||
</feature>
|
||||
</cpus>
|
||||
|
@ -8,4 +8,5 @@
|
||||
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x01009000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x0000006b'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
</cpudata>
|
||||
|
@ -20,6 +20,9 @@
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='disable' name='mpx'/>
|
||||
<feature policy='disable' name='core-capability'/>
|
||||
<feature policy='disable' name='pdpe1gb'/>
|
||||
|
@ -9,4 +9,5 @@
|
||||
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x01009000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x000001eb'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
</cpudata>
|
||||
|
@ -15,4 +15,7 @@
|
||||
<feature policy='require' name='tsx-ctrl'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
</cpu>
|
||||
|
@ -7,4 +7,5 @@
|
||||
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000121' edx='0x2c100800'/>
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x00000048'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
</cpudata>
|
||||
|
@ -17,6 +17,9 @@
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
<feature policy='disable' name='hle'/>
|
||||
<feature policy='disable' name='rtm'/>
|
||||
</cpu>
|
||||
|
@ -8,4 +8,5 @@
|
||||
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x01001000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x000000eb'/>
|
||||
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
|
||||
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
|
||||
</cpudata>
|
||||
|
@ -21,4 +21,7 @@
|
||||
<feature policy='require' name='tsx-ctrl'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
</cpu>
|
||||
|
@ -21,4 +21,7 @@
|
||||
<feature policy='require' name='tsx-ctrl'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
</cpu>
|
||||
|
@ -61,6 +61,9 @@
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
</mode>
|
||||
<mode name='custom' supported='yes'>
|
||||
<model usable='yes' vendor='unknown'>qemu64</model>
|
||||
|
@ -60,6 +60,9 @@
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
</mode>
|
||||
<mode name='custom' supported='yes'>
|
||||
<model usable='yes' vendor='unknown'>qemu64</model>
|
||||
|
@ -61,6 +61,9 @@
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
</mode>
|
||||
<mode name='custom' supported='yes'>
|
||||
<model usable='yes' vendor='unknown'>qemu64</model>
|
||||
|
@ -60,6 +60,9 @@
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='vmx-ins-outs'/>
|
||||
<feature policy='require' name='vmx-true-ctls'/>
|
||||
<feature policy='require' name='vmx-store-lma'/>
|
||||
<feature policy='require' name='vmx-activity-hlt'/>
|
||||
<feature policy='require' name='vmx-vmwrite-vmexit-fields'/>
|
||||
</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 \
|
||||
-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 \
|
||||
-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 \
|
||||
-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 \
|
||||
-m size=219136k \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 1,sockets=1,cores=1,threads=1 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user