VirtualBox

Changeset 27583 in vbox for trunk/src


Ignore:
Timestamp:
Mar 22, 2010 12:17:56 PM (15 years ago)
Author:
vboxsync
Message:

Emulate reads from ballooned pages as they are not present in our shadow page tables. (required for e.g. Solaris guests; soft ecc, random nr generator)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r27540 r27583  
    696696                    STAM_COUNTER_INC(&pVCpu->pgm.s.CTX_MID_Z(Stat,PageOutOfSyncSupervisor));
    697697
     698                if (PGM_PAGE_IS_BALLOONED(pPage))
     699                {
     700                    /* Emulate reads from ballooned pages as they are not present in our shadow page tables. (required for e.g. Solaris guests; soft ecc, random nr generator) */
     701                    rc = PGMInterpretInstruction(pVM, pVCpu, pRegFrame, pvFault);
     702                    LogFlow(("PGM: PGMInterpretInstruction -> rc=%d pPage=%R[pgmpage]\n", rc, pPage));
     703                    STAM_PROFILE_STOP(&pVCpu->pgm.s.StatRZTrap0eTimeHandlers, b);
     704                    STAM_STATS({ pVCpu->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = &pVCpu->pgm.s.StatRZTrap0eTime2HndUnhandled; });
     705                    return rc;
     706                }
    698707#   if defined(LOG_ENABLED) && !defined(IN_RING0)
    699708                RTGCPHYS   GCPhys2;
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