VirtualBox

Changeset 15647 in vbox for trunk/src/VBox/VMM/PGM.cpp


Ignore:
Timestamp:
Dec 18, 2008 12:12:46 PM (16 years ago)
Author:
vboxsync
Message:

PGM: Reverted r40889 (horribly ugly VMMDev Heap hack) as this has been fixed by disabling the heap when converting a 2.0/1.6 settings file with saved state to 2.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGM.cpp

    r15491 r15647  
    24722472            return VERR_SSM_DATA_UNIT_FORMAT_CHANGED;
    24732473        }
    2474 
    2475         /* This is a horribly ugly hack for an 2.0 -> 2.1 incompatibility
    2476            in the VMMDev PCI regions. VMMDev Heap was added in 2.1 and we
    2477            simply skip it here if it's not in the saved state. */
    2478         if (    (   GCPhys != pRam->GCPhys
    2479                  || GCPhysLast != pRam->GCPhysLast
    2480                  || cb != pRam->cb
    2481                  || fHaveBits != !!pRam->pvR3)
    2482             &&  !strcmp(pRam->pszDesc, "VMMDev Heap")
    2483             &&  pRam->pNextR3)
    2484             pRam = pRam->pNextR3; /* don't increment i. */
    24852474
    24862475        /* Match it up with the current range. */
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