Changeset 49889 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Dec 12, 2013 5:12:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r49870 r49889 6583 6583 * @param fSaveGuestState Whether to save the guest state or not. 6584 6584 * 6585 * @remarks If you modify code here, make sure to check whether6586 * hmR0VmxCallRing3Callback() needs to be updated too!!!6587 6585 * @remarks No-long-jmp zone!!! 6588 6586 */ … … 6594 6592 RTCPUID idCpu = RTMpCpuId(); 6595 6593 Log4Func(("HostCpuId=%u\n", idCpu)); 6594 6595 /* 6596 * IMPORTANT!!! 6597 * If you modify code here, make sure to check whether hmR0SvmCallRing3Callback() needs to be updated too. 6598 */ 6596 6599 6597 6600 /* Save the guest state if necessary. */ … … 6714 6717 pVCpu->hm.s.fLeaveDone = true; 6715 6718 } 6719 6720 /* 6721 * IMPORTANT!!! 6722 * If you modify code here, make sure to check whether hmR0SvmCallRing3Callback() needs to be updated too. 6723 */ 6716 6724 6717 6725 /* Deregister hook now that we've left HM context before re-enabling preemption. */ … … 6837 6845 * may be out-of-sync. Make sure to update the required 6838 6846 * fields before using them. 6839 *6840 * @remarks If you modify code here, make sure to check whether6841 * hmR0VmxLeave() needs to be updated too!!!6842 6847 */ 6843 6848 DECLCALLBACK(int) hmR0VmxCallRing3Callback(PVMCPU pVCpu, VMMCALLRING3 enmOperation, void *pvUser) … … 6845 6850 if (enmOperation == VMMCALLRING3_VM_R0_ASSERTION) 6846 6851 { 6847 /* If anything here asserts or fails, good luck. */ 6852 /* 6853 * !!! IMPORTANT !!! 6854 * If you modify code here, make sure to check whether hmR0VmxLeave() and hmR0VmxLeaveSession() needs 6855 * to be updated too. This is a stripped down version which gets out ASAP trying to not trigger any assertion. 6856 */ 6848 6857 VMMRZCallRing3RemoveNotification(pVCpu); 6849 6858 VMMRZCallRing3Disable(pVCpu);
Note:
See TracChangeset
for help on using the changeset viewer.