doc: update MSR virtualization in HLD

add some missing MSR virtualizations.

Tracked-On: #3882
Signed-off-by: Tw <wei.tan@intel.com>
This commit is contained in:
Tw 2019-10-16 14:05:38 +08:00 committed by deb-intel
parent 227ee64b3b
commit edffde4e3c

View File

@ -891,6 +891,10 @@ pass-through directly:
- **Description**
- **Handler**
* - MSR_IA32_TSC_ADJUST
- TSC adjustment of local APIC's TSC deadline mode
- emulates with vlapic
* - MSR_IA32_TSC_DEADLINE
- TSC target of local APIC's TSC deadline mode
- emulates with vlapic
@ -906,9 +910,13 @@ pass-through directly:
- "
* - MSR_IA32_TIME_STAMP_COUNTER
- TIme-stamp counter
- Time-stamp counter
- work with VMX_TSC_OFFSET_FULL to emulate virtual TSC
* - MSR_IA32_APIC_BASE
- APIC base address
- emulates with vlapic
* - MSR_IA32_PAT
- Page-attribute table
- save/restore in vCPU, write to VMX_GUEST_IA32_PAT_FULL if cr0.cd is 0
@ -918,6 +926,26 @@ pass-through directly:
- Trigger real p-state change if p-state is valid when writing,
fetch physical MSR when reading
* - MSR_IA32_FEATURE_CONTROL
- Feature control bits that configure operation of VMX and SMX
- disabled, locked
* - MSR_IA32_MCG_CAP/STATUS
- Machine-Check global control/status
- emulates with vMCE
* - MSR_IA32_MISC_ENABLE
- Miscellaneous feature control
- readonly, except MONITOR/MWAIT enable bit
* - MSR_IA32_SGXLEPUBKEYHASH0/1/2/3
- SHA256 digest of the authorized launch enclaves
- emulates with vSGX
* - MSR_IA32_SGX_SVN_STATUS
- Status and SVN threshold of SGX support for ACM
- readonly, emulates with vSGX
* - MSR_IA32_MTRR_CAP
- Memory type range register related
- Handled by MTRR emulation.
@ -942,6 +970,18 @@ pass-through directly:
- "
- "
* - MSR_IA32_X2APIC_*
- x2APIC related MSRs (offset from 0x800 to 0x900)
- emulates with vlapic
* - MSR_IA32_L2_MASK_n
- L2 CAT mask for COSn
- emulates with vCAT
* - MSR_IA32_L3_MASK_n
- L3 CAT mask for COSn
- emulates with vCAT
* - MSR_IA32_VMX_BASIC~VMX_TRUE_ENTRY_CTLS
- VMX related MSRs
- not support, access will inject #GP