VirtualBox

Changeset 11964 in vbox for trunk/src


Ignore:
Timestamp:
Sep 2, 2008 8:43:25 AM (16 years ago)
Author:
vboxsync
Message:

Ignore mapping fix/unfix calls for VT-x/AMD-V.

File:
1 edited

Legend:

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

    r11711 r11964  
    304304    Log(("PGMR3MappingsFix: GCPtrBase=%#x cb=%#x\n", GCPtrBase, cb));
    305305
     306    /* Ignore the additions mapping fix call in VT-x/AMD-V. */
     307    if (    pVM->pgm.s.fMappingsFixed
     308        &&  HWACCMR3IsActive(pVM))
     309        return VINF_SUCCESS;
     310
    306311    /*
    307312     * This is all or nothing at all. So, a tiny bit of paranoia first.
     
    435440{
    436441    Log(("PGMR3MappingsUnfix: fMappingsFixed=%d\n", pVM->pgm.s.fMappingsFixed));
     442
     443    /* Refuse in VT-x/AMD-V mode. */
     444    if (HWACCMR3IsActive(pVM))
     445        return VINF_SUCCESS;
     446
    437447    pVM->pgm.s.fMappingsFixed    = false;
    438448    pVM->pgm.s.GCPtrMappingFixed = 0;
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