VirtualBox

Changeset 72880 in vbox


Ignore:
Timestamp:
Jul 4, 2018 3:11:47 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123425
Message:

VMMGuruMeditation: Try get externalized guest state.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpumctx.h

    r72643 r72880  
    921921/** All CPUM state bits, not including keeper specific ones. */
    922922#define CPUMCTX_EXTRN_ALL                       UINT64_C(0x000003fffffffffc)
     923/** All CPUM state bits, including keeper specific ones. */
     924#define CPUMCTX_EXTRN_ABSOLUTELY_ALL            UINT64_C(0xfffffffffffffffc)
    923925/** @} */
    924926
  • trunk/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp

    r72610 r72880  
    311311     */
    312312    bool fDoneHyper = false;
     313    bool fDoneImport = false;
    313314    switch (rcErr)
    314315    {
     
    704705        case VERR_EM_GUEST_CPU_HANG:
    705706        {
     707            CPUMImportGuestStateOnDemand(pVCpu, CPUMCTX_EXTRN_ABSOLUTELY_ALL);
     708            fDoneImport = true;
     709
    706710            DBGFR3Info(pVM->pUVM, "cpumguest", NULL, pHlp);
    707711            DBGFR3Info(pVM->pUVM, "cpumguestinstr", NULL, pHlp);
     
    722726     * Generic info dumper loop.
    723727     */
     728    if (!fDoneImport)
     729        CPUMImportGuestStateOnDemand(pVCpu, CPUMCTX_EXTRN_ABSOLUTELY_ALL);
    724730    static struct
    725731    {
Note: See TracChangeset for help on using the changeset viewer.

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