VirtualBox

Changeset 50087 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jan 16, 2014 6:15:44 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91609
Message:

VERR_CPUM_TOO_MANY_CPUID_SUBLEAVES: Dump some potentially useful info in the release log.

File:
1 edited

Legend:

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

    r50019 r50087  
    888888                {
    889889                    if (cSubLeaves > 16)
     890                    {
     891                        /* This shouldn't happen.  But in case it does, file all
     892                           relevant details in the release log. */
     893                        LogRel(("CPUM: VERR_CPUM_TOO_MANY_CPUID_SUBLEAVES! uLeaf=%#x cSubLeaves=%#x\n", uLeaf, cSubLeaves));
     894                        LogRel(("------------------ dump of problematic subleaves ------------------\n"));
     895                        for (uint32_t uSubLeaf = 0; uSubLeaf < 128; uSubLeaf++)
     896                        {
     897                            uint32_t auTmp[4];
     898                            ASMCpuIdExSlow(uLeaf, 0, uSubLeaf, 0, &auTmp[0], &auTmp[1], &auTmp[2], &auTmp[3]);
     899                            LogRel(("CPUM: %#010x, %#010x => %#010x %#010x %#010x %#010x\n",
     900                                    uLeaf, uSubLeaf, auTmp[0], auTmp[1], auTmp[2], auTmp[3]));
     901                        }
     902                        LogRel(("----------------- dump of what we've found so far -----------------\n"));
     903                        for (uint32_t i = 0 ; i < *pcLeaves; i++)
     904                            LogRel(("CPUM: %#010x, %#010x/%#010x => %#010x %#010x %#010x %#010x\n",
     905                                    (*ppaLeaves)[i].uLeaf, (*ppaLeaves)[i].uSubLeaf,  (*ppaLeaves)[i].fSubLeafMask,
     906                                    (*ppaLeaves)[i].uEax, (*ppaLeaves)[i].uEbx, (*ppaLeaves)[i].uEcx, (*ppaLeaves)[i].uEdx));
     907                        LogRel(("\nPlease create a defect on virtualbox.org and attach this log file!\n\n"));
    890908                        return VERR_CPUM_TOO_MANY_CPUID_SUBLEAVES;
     909                    }
     910
    891911                    for (uint32_t uSubLeaf = 0; uSubLeaf < cSubLeaves; uSubLeaf++)
    892912                    {
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