VirtualBox

Changeset 71342 in vbox


Ignore:
Timestamp:
Mar 15, 2018 6:20:51 AM (7 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Include GIF as part of nested hw.virt CPUM info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUM.cpp

    r71189 r71342  
    23982398#define CPUMHWVIRTDUMP_COMMON   RT_BIT(2)
    23992399#define CPUMHWVIRTDUMP_LAST     CPUMHWVIRTDUMP_VMX
    2400 #define CPUMHWVIRTDUMP_ALL      (CPUMHWVIRTDUMP_COMMON | CPUMHWVIRTDUMP_VMX | CPUMHWVIRTDUMP_SVM)
    24012400
    24022401    PCPUMCTX pCtx = &pVCpu->cpum.s.Guest;
     
    24072406    Assert(idxHwvirtState < RT_ELEMENTS(s_aHwvirtModes));
    24082407    const char *pcszHwvirtMode   = s_aHwvirtModes[idxHwvirtState];
    2409     uint32_t const fDumpState    = idxHwvirtState; /* | CPUMHWVIRTDUMP_ALL */
     2408    uint32_t fDumpState          = idxHwvirtState | CPUMHWVIRTDUMP_COMMON;
    24102409
    24112410    /*
     
    24152414
    24162415    if (fDumpState & CPUMHWVIRTDUMP_COMMON)
     2416    {
     2417        pHlp->pfnPrintf(pHlp, "fGif                           = %RTbool\n", pCtx->hwvirt.fGif);
    24172418        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                                                                 ":" : "");
    24192422    if (fDumpState & CPUMHWVIRTDUMP_SVM)
    24202423    {
     
    24532456        pHlp->pfnPrintf(pHlp, "    idtr                       = %016RX64:%04x\n", pCtx->hwvirt.svm.HostState.idtr.pIdt,
    24542457                        pCtx->hwvirt.svm.HostState.idtr.cbIdt);
    2455         pHlp->pfnPrintf(pHlp, "  fGif                       = %u\n",        pCtx->hwvirt.fGif);
    24562458        pHlp->pfnPrintf(pHlp, "  cPauseFilter               = %RU16\n",     pCtx->hwvirt.svm.cPauseFilter);
    24572459        pHlp->pfnPrintf(pHlp, "  cPauseFilterThreshold      = %RU32\n",     pCtx->hwvirt.svm.cPauseFilterThreshold);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette