Changeset 72449 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jun 5, 2018 10:52:38 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r72440 r72449 1716 1716 * doesn't intercept HLT but intercepts INTR? */ 1717 1717 *pfResched = true; 1718 Assert(rcStrict != VINF_PGM_CHANGE_MODE); 1718 1719 if (rcStrict == VINF_SVM_VMEXIT) 1719 1720 return VINF_SUCCESS; 1720 if (rcStrict == VINF_PGM_CHANGE_MODE)1721 return PGMChangeMode(pVCpu, pCtx->cr0, pCtx->cr4, pCtx->msrEFER);1722 1721 return VBOXSTRICTRC_VAL(rcStrict); 1723 1722 } … … 1730 1729 /** @todo this really isn't nice, should properly handle this */ 1731 1730 int rc = TRPMR3InjectEvent(pVM, pVCpu, TRPM_HARDWARE_INT); 1731 Assert(rc != VINF_PGM_CHANGE_MODE); 1732 1732 if (rc == VINF_SVM_VMEXIT) 1733 1733 rc = VINF_SUCCESS; 1734 else if (rc == VINF_PGM_CHANGE_MODE)1735 rc = PGMChangeMode(pVCpu, pCtx->cr0, pCtx->cr4, pCtx->msrEFER);1736 1734 if (pVM->em.s.fIemExecutesAll && ( rc == VINF_EM_RESCHEDULE_REM 1737 1735 || rc == VINF_EM_RESCHEDULE_HM … … 1758 1756 * doesn't intercept HLT but intercepts VINTR? */ 1759 1757 *pfResched = true; 1758 Assert(rcStrict != VINF_PGM_CHANGE_MODE); 1760 1759 if (rcStrict == VINF_SVM_VMEXIT) 1761 1760 return VINF_SUCCESS; 1762 if (rcStrict == VINF_PGM_CHANGE_MODE)1763 return PGMChangeMode(pVCpu, pCtx->cr0, pCtx->cr4, pCtx->msrEFER);1764 1761 return VBOXSTRICTRC_VAL(rcStrict); 1765 1762 }
Note:
See TracChangeset
for help on using the changeset viewer.