Changeset 49152 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 17, 2013 7:30:41 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 90012
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r49085 r49152 6423 6423 } 6424 6424 6425 /* 6426 * Clear the X86_EFL_TF if necessary. 6427 */ 6428 if (pVCpu->hm.s.fClearTrapFlag) 6429 { 6430 Assert(pVCpu->hm.s.vmx.fUpdatedGuestState & HMVMX_UPDATED_GUEST_RFLAGS); 6431 pMixedCtx->eflags.Bits.u1TF = 0; 6432 pVCpu->hm.s.fClearTrapFlag = false; 6433 } 6434 /** @todo there seems to be issues with the resume flag when the monitor trap 6435 * flag is pending without being used. Seen early in bios init when 6436 * accessing APIC page in prot mode. */ 6425 Assert(!pVCpu->hm.s.fClearTrapFlag); 6437 6426 6438 6427 /* On our way back from ring-3 reload the guest state if there is a possibility of it being changed. */ … … 7984 7973 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_GUEST_DEBUG); 7985 7974 } 7975 7976 /* 7977 * Clear the X86_EFL_TF if necessary. 7978 */ 7979 if (pVCpu->hm.s.fClearTrapFlag) 7980 { 7981 int rc2 = hmR0VmxSaveGuestRflags(pVCpu, pCtx); 7982 AssertRCReturn(rc2, rc2); 7983 pVCpu->hm.s.fClearTrapFlag = false; 7984 pCtx->eflags.Bits.u1TF = 0; 7985 } 7986 /** @todo there seems to be issues with the resume flag when the monitor trap 7987 * flag is pending without being used. Seen early in bios init when 7988 * accessing APIC page in prot mode. */ 7986 7989 7987 7990 STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatEntry, x);
Note:
See TracChangeset
for help on using the changeset viewer.