VirtualBox

Changeset 42837 in vbox


Ignore:
Timestamp:
Aug 16, 2012 7:16:05 AM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR3/PGMSavedState: comments.

File:
1 edited

Legend:

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

    r42836 r42837  
    26662666                            break;
    26672667
    2668                         /* Ballooned pages must be unmarked (live snapshot and
    2669                            teleportation scenarios). */
     2668                        /*
     2669                         * Ballooned pages must be unmarked (live snapshot and teleportation scenarios)
     2670                         */
    26702671                        if (PGM_PAGE_IS_BALLOONED(pPage))
    26712672                        {
     
    26952696                            pgmPhysReleaseInternalPageMappingLock(pVM, &PgMpLck);
    26962697                        }
    2697                         /* Free it only if it's not part of a previously
    2698                            allocated large page (no need to clear the page). */
     2698                        /*
     2699                         * Free it only if it's not part of a previously allocated large page
     2700                         * (no need to clear the page).
     2701                         */
    26992702                        else if (   PGM_PAGE_GET_PDE_TYPE(pPage) != PGM_PAGE_PDE_TYPE_PDE
    27002703                                 && PGM_PAGE_GET_PDE_TYPE(pPage) != PGM_PAGE_PDE_TYPE_PDE_DISABLED)
     
    27132716                            break;
    27142717
    2715                         /* We don't map ballooned pages in our shadow page tables, let's
    2716                            just free it if allocated and mark as ballooned.  See @bugref{5515}. */
     2718                        /*
     2719                         * We don't map ballooned pages in our shadow page tables, let's just free
     2720                         * it if allocated and mark as ballooned. See @bugref{5515}.
     2721                         */
    27172722                        if (PGM_PAGE_IS_ALLOCATED(pPage))
    27182723                        {
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