Changeset 79402 in vbox for trunk/src/VBox
- Timestamp:
- Jun 28, 2019 7:49:36 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79401 r79402 1004 1004 1005 1005 1006 #if 0 1006 1007 /** 1007 1008 * Checks whether one of the given Processor-based VM-execution controls are set. … … 1050 1051 1051 1052 1052 #if 01053 1053 /** 1054 1054 * Checks whether one of the given VM-entry controls are set. … … 11400 11400 PVM pVM = pVCpu->CTX_SUFF(pVM); 11401 11401 if ( !pVCpu->hm.s.vmx.u64GstMsrApicBase 11402 && hmR0VmxIsProcCtls2Set(pVCpu, pVmxTransient,VMX_PROC_CTLS2_VIRT_APIC_ACCESS)11402 && (pVM->hm.s.vmx.Msrs.ProcCtls2.n.allowed1 & VMX_PROC_CTLS2_VIRT_APIC_ACCESS) 11403 11403 && PDMHasApic(pVM)) 11404 11404 { … … 13881 13881 * etc.) occurred while delivering the NMI, we need to clear the block-by-NMI field in the guest 13882 13882 * interruptibility-state before re-delivering the NMI after handling the VM-exit. Otherwise the 13883 * subsequent VM-entry would fail .13883 * subsequent VM-entry would fail, see @bugref{7445}. 13884 13884 * 13885 * See Intel spec. 30.7.1.2 "Resuming Guest Software after Handling an Exception". See @bugref{7445}.13885 * See Intel spec. 30.7.1.2 "Resuming Guest Software after Handling an Exception". 13886 13886 */ 13887 13887 if ( uIdtVectorType == VMX_IDT_VECTORING_INFO_TYPE_NMI … … 14786 14786 14787 14787 #ifdef VBOX_STRICT 14788 if (hmR0VmxIsProcCtlsSet(pVCpu, pVmxTransient, VMX_PROC_CTLS_USE_MSR_BITMAPS)) 14788 Assert(!pVmxTransient->fIsNestedGuest); 14789 if (pVmcsInfo->u32ProcCtls & VMX_PROC_CTLS_USE_MSR_BITMAPS) 14789 14790 { 14790 14791 if ( hmR0VmxIsAutoLoadGuestMsr(pVmcsInfo, idMsr) … … 14888 14889 } 14889 14890 14890 /* Update MSRs that are part of the VMCS and auto-load/store area when MSR-bitmaps are not supported. */14891 if (! hmR0VmxIsProcCtlsSet(pVCpu, pVmxTransient,VMX_PROC_CTLS_USE_MSR_BITMAPS))14891 /* Update MSRs that are part of the VMCS and auto-load/store area when MSR-bitmaps are not used. */ 14892 if (!(pVmcsInfo->u32ProcCtls & VMX_PROC_CTLS_USE_MSR_BITMAPS)) 14892 14893 { 14893 14894 switch (idMsr)
Note:
See TracChangeset
for help on using the changeset viewer.