Changeset 49275 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 24, 2013 1:06:04 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r49225 r49275 2913 2913 hmR0SvmInjectPendingEvent(pVCpu, pCtx); 2914 2914 2915 if ( pVCpu->hm.s.fUseGuestFpu 2916 && !CPUMIsGuestFPUStateActive(pVCpu)) 2917 { 2918 CPUMR0LoadGuestFPU(pVM, pVCpu, pCtx); 2919 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_GUEST_CR0); 2920 } 2921 2915 2922 /* Load the state shared between host and guest (FPU, debug). */ 2916 2923 PSVMVMCB pVmcb = (PSVMVMCB)pVCpu->hm.s.svm.pvVmcb; … … 4966 4973 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_GUEST_CR0); 4967 4974 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitShadowNM); 4975 pVCpu->hm.s.fUseGuestFpu = true; 4968 4976 } 4969 4977 else -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r49274 r49275 7831 7831 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_GUEST_CR0); 7832 7832 #endif 7833 7834 if ( pVCpu->hm.s.fUseGuestFpu 7835 && !CPUMIsGuestFPUStateActive(pVCpu)) 7836 { 7837 CPUMR0LoadGuestFPU(pVM, pVCpu, pMixedCtx); 7838 Assert(pVCpu->hm.s.vmx.fUpdatedGuestState & HMVMX_UPDATED_GUEST_CR0); 7839 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_GUEST_CR0); 7840 } 7833 7841 7834 7842 /* … … 10706 10714 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_GUEST_CR0); 10707 10715 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitShadowNM); 10716 pVCpu->hm.s.fUseGuestFpu = true; 10708 10717 } 10709 10718 else
Note:
See TracChangeset
for help on using the changeset viewer.