VirtualBox

Changeset 51979 in vbox


Ignore:
Timestamp:
Jul 11, 2014 4:12:16 AM (10 years ago)
Author:
vboxsync
Message:

VMM/GIM: Fixes.

File:
1 edited

Legend:

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

    r51961 r51979  
    588588            rc = HMPatchHypercall(pVM, pRegion->pvPageR3, PAGE_SIZE, &cbWritten);
    589589            if (   RT_SUCCESS(rc)
    590                 && cbWritten < PAGE_SIZE - 1)
     590                && cbWritten < PAGE_SIZE)
    591591            {
    592592                uint8_t *pbLast = (uint8_t *)pRegion->pvPageR3 + cbWritten;
     
    597597            }
    598598            else
     599            {
     600                if (rc == VINF_SUCCESS)
     601                    rc = VERR_GIM_OPERATION_FAILED;
    599602                LogRelFunc(("HMPatchHypercall failed. rc=%Rrc cbWritten=%u\n", rc, cbWritten));
     603            }
    600604        }
    601605        else
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