Changeset 71342 in vbox for trunk/src/VBox
- Timestamp:
- Mar 15, 2018 6:20:51 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r71189 r71342 2398 2398 #define CPUMHWVIRTDUMP_COMMON RT_BIT(2) 2399 2399 #define CPUMHWVIRTDUMP_LAST CPUMHWVIRTDUMP_VMX 2400 #define CPUMHWVIRTDUMP_ALL (CPUMHWVIRTDUMP_COMMON | CPUMHWVIRTDUMP_VMX | CPUMHWVIRTDUMP_SVM)2401 2400 2402 2401 PCPUMCTX pCtx = &pVCpu->cpum.s.Guest; … … 2407 2406 Assert(idxHwvirtState < RT_ELEMENTS(s_aHwvirtModes)); 2408 2407 const char *pcszHwvirtMode = s_aHwvirtModes[idxHwvirtState]; 2409 uint32_t const fDumpState = idxHwvirtState; /* | CPUMHWVIRTDUMP_ALL */2408 uint32_t fDumpState = idxHwvirtState | CPUMHWVIRTDUMP_COMMON; 2410 2409 2411 2410 /* … … 2415 2414 2416 2415 if (fDumpState & CPUMHWVIRTDUMP_COMMON) 2416 { 2417 pHlp->pfnPrintf(pHlp, "fGif = %RTbool\n", pCtx->hwvirt.fGif); 2417 2418 pHlp->pfnPrintf(pHlp, "fLocalForcedActions = %#RX32\n", pCtx->hwvirt.fLocalForcedActions); 2418 pHlp->pfnPrintf(pHlp, "%s hwvirt state%s\n", pcszHwvirtMode, fDumpState ? ":" : ""); 2419 } 2420 pHlp->pfnPrintf(pHlp, "%s hwvirt state%s\n", pcszHwvirtMode, (fDumpState & (CPUMHWVIRTDUMP_SVM | CPUMHWVIRTDUMP_VMX)) ? 2421 ":" : ""); 2419 2422 if (fDumpState & CPUMHWVIRTDUMP_SVM) 2420 2423 { … … 2453 2456 pHlp->pfnPrintf(pHlp, " idtr = %016RX64:%04x\n", pCtx->hwvirt.svm.HostState.idtr.pIdt, 2454 2457 pCtx->hwvirt.svm.HostState.idtr.cbIdt); 2455 pHlp->pfnPrintf(pHlp, " fGif = %u\n", pCtx->hwvirt.fGif);2456 2458 pHlp->pfnPrintf(pHlp, " cPauseFilter = %RU16\n", pCtx->hwvirt.svm.cPauseFilter); 2457 2459 pHlp->pfnPrintf(pHlp, " cPauseFilterThreshold = %RU32\n", pCtx->hwvirt.svm.cPauseFilterThreshold);
Note:
See TracChangeset
for help on using the changeset viewer.