VirtualBox

Changeset 61390 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 2, 2016 12:18:30 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107704
Message:

csamR3CalcPageHash: Shut up annoying assertion on VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS with bs3kit guest.

File:
1 edited

Legend:

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

    r61122 r61390  
    17721772
    17731773    rc = PGMPhysSimpleReadGCPtr(pVCpu, &val[0], pInstr, sizeof(val[0]));
    1774     AssertMsg(RT_SUCCESS(rc) || rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT, ("rc = %Rrc\n", rc));
    1775     if (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT)
    1776     {
    1777         Log(("csamR3CalcPageHash: page %RRv not present!!\n", pInstr));
    1778         return ~0ULL;
     1774    if (RT_SUCCESS(rc))
     1775    { /* likely */ }
     1776    else
     1777    {
     1778        if (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT || rc == VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS)
     1779        {
     1780            Log(("csamR3CalcPageHash: page %RRv not present!!\n", pInstr));
     1781            return ~0ULL;
     1782        }
     1783        AssertMsgFailed(("rc = %Rrc\n", rc));
    17791784    }
    17801785
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