Changeset 79227 in vbox
- Timestamp:
- Jun 19, 2019 6:09:44 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79226 r79227 3633 3633 #endif 3634 3634 3635 /* Virtualize-APIC accesses if supported by the CPU. The virtual-APIC page is where the TPR shadow resides. */ 3635 /* Virtualize-APIC accesses if supported by the CPU. The virtual-APIC page is 3636 where the TPR shadow resides. */ 3636 3637 /** @todo VIRT_X2APIC support, it's mutually exclusive with this. So must be 3637 3638 * done dynamically. */ … … 3793 3794 * @param pVCpu The cross context virtual CPU structure. 3794 3795 * @param pVmcsInfo The VMCS info. object. 3796 * 3797 * @remarks Must be called after secondary processor-based VM-execution controls 3798 * have been initialized! 3795 3799 */ 3796 3800 static int hmR0VmxSetupVmcsMiscCtls(PVMCPU pVCpu, PVMXVMCSINFO pVmcsInfo) 3797 3801 { 3798 /* Set the auto-load/store MSR area addressesin the VMCS. */3799 int rc = hmR0VmxSetupVmcs AutoLoadStoreMsrAddrs(pVCpu, pVmcsInfo);3802 /* Set the VMCS link pointer in the VMCS. */ 3803 int rc = hmR0VmxSetupVmcsLinkPtr(pVCpu, pVmcsInfo); 3800 3804 if (RT_SUCCESS(rc)) 3801 3805 { 3802 /* Set the VMCS link pointerin the VMCS. */3803 rc = hmR0VmxSetupVmcs LinkPtr(pVCpu, pVmcsInfo);3806 /* Set the auto-load/store MSR area addresses in the VMCS. */ 3807 rc = hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(pVCpu, pVmcsInfo); 3804 3808 if (RT_SUCCESS(rc)) 3805 3809 { … … 3818 3822 } 3819 3823 else 3820 LogRelFunc(("Failed to initialize VMCS link pointer. rc=%Rrc\n", rc));3824 LogRelFunc(("Failed to initialize VMCS auto-load/store MSR addresses. rc=%Rrc\n", rc)); 3821 3825 } 3822 3826 else 3823 LogRelFunc(("Failed to initialize VMCS auto-load/store MSR addresses. rc=%Rrc\n", rc));3827 LogRelFunc(("Failed to initialize VMCS link pointer. rc=%Rrc\n", rc)); 3824 3828 return rc; 3825 3829 }
Note:
See TracChangeset
for help on using the changeset viewer.