mirror of https://gitee.com/openkylin/qemu.git
vmxcap: Update according to SDM of September 2014
This adds reporting of RDSEED exiting and XSAVES/XRSTORS #UD and fixes the range of VMCS revision as well as some typos. Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
ed173cb704
commit
c5d1e2cce3
|
@ -99,7 +99,7 @@ controls = [
|
||||||
Misc(
|
Misc(
|
||||||
name = 'Basic VMX Information',
|
name = 'Basic VMX Information',
|
||||||
bits = {
|
bits = {
|
||||||
(0, 31): 'Revision',
|
(0, 30): 'Revision',
|
||||||
(32,44): 'VMCS size',
|
(32,44): 'VMCS size',
|
||||||
48: 'VMCS restricted to 32 bit addresses',
|
48: 'VMCS restricted to 32 bit addresses',
|
||||||
49: 'Dual-monitor support',
|
49: 'Dual-monitor support',
|
||||||
|
@ -169,7 +169,9 @@ controls = [
|
||||||
12: 'Enable INVPCID',
|
12: 'Enable INVPCID',
|
||||||
13: 'Enable VM functions',
|
13: 'Enable VM functions',
|
||||||
14: 'VMCS shadowing',
|
14: 'VMCS shadowing',
|
||||||
18: 'EPT-violation #VE'
|
16: 'RDSEED exiting',
|
||||||
|
18: 'EPT-violation #VE',
|
||||||
|
20: 'Enable XSAVES/XRSTORS',
|
||||||
},
|
},
|
||||||
cap_msr = MSR_IA32_VMX_PROCBASED_CTLS2,
|
cap_msr = MSR_IA32_VMX_PROCBASED_CTLS2,
|
||||||
),
|
),
|
||||||
|
@ -195,7 +197,7 @@ controls = [
|
||||||
name = 'VM-Entry controls',
|
name = 'VM-Entry controls',
|
||||||
bits = {
|
bits = {
|
||||||
2: 'Load debug controls',
|
2: 'Load debug controls',
|
||||||
9: 'IA-64 mode guest',
|
9: 'IA-32e mode guest',
|
||||||
10: 'Entry to SMM',
|
10: 'Entry to SMM',
|
||||||
11: 'Deactivate dual-monitor treatment',
|
11: 'Deactivate dual-monitor treatment',
|
||||||
13: 'Load IA32_PERF_GLOBAL_CTRL',
|
13: 'Load IA32_PERF_GLOBAL_CTRL',
|
||||||
|
@ -216,7 +218,7 @@ controls = [
|
||||||
8: 'Wait-for-SIPI activity state',
|
8: 'Wait-for-SIPI activity state',
|
||||||
15: 'IA32_SMBASE support',
|
15: 'IA32_SMBASE support',
|
||||||
(16,24): 'Number of CR3-target values',
|
(16,24): 'Number of CR3-target values',
|
||||||
(25,27): 'MSR-load/store count recommenation',
|
(25,27): 'MSR-load/store count recommendation',
|
||||||
28: 'IA32_SMM_MONITOR_CTL[2] can be set to 1',
|
28: 'IA32_SMM_MONITOR_CTL[2] can be set to 1',
|
||||||
29: 'VMWRITE to VM-exit information fields',
|
29: 'VMWRITE to VM-exit information fields',
|
||||||
(32,63): 'MSEG revision identifier',
|
(32,63): 'MSEG revision identifier',
|
||||||
|
|
Loading…
Reference in New Issue