Changeset 67712 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp
- Timestamp:
- Jun 30, 2017 6:50:29 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116559
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r67553 r67712 1960 1960 { 1961 1961 bool fIntrEnabled; 1962 PCPUMCTX pCtx = pVCpu->em.s.pCtx; 1962 1963 #ifdef VBOX_WITH_RAW_MODE 1963 fIntrEnabled = PATMAreInterruptsEnabled(pVM); 1964 /* We cannot just inspect EFLAGS when nested hw.virt is enabled (see e.g. CPUMCanSvmNstGstTakePhysIntr). */ 1965 fIntrEnabled = !PATMIsPatchGCAddr(pVM, pCtx->eip); 1964 1966 #else 1965 1967 fIntrEnabled = true; 1966 1968 #endif 1967 1969 /** @todo Can we centralize this under CPUMCanInjectInterrupt()? */ 1968 PCPUMCTX pCtx = pVCpu->em.s.pCtx;1969 1970 #ifdef VBOX_WITH_NESTED_HWVIRT 1970 1971 fIntrEnabled &= pCtx->hwvirt.svm.fGif;
Note:
See TracChangeset
for help on using the changeset viewer.