VirtualBox

Changeset 20492 in vbox for trunk/src


Ignore:
Timestamp:
Jun 12, 2009 9:45:54 AM (16 years ago)
Author:
vboxsync
Message:

Must flush the TLB of all VCPUs after flushing guest physical memory references.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp

    r20434 r20492  
    237237    if (fFlushTLBs && rc == VINF_SUCCESS)
    238238    {
    239         PGM_INVL_VCPU_TLBS(VMMGetCpu(pVM));
     239        PGM_INVL_ALL_VCPU_TLBS(pVM);
    240240        Log(("pgmHandlerPhysicalSetRamFlagsAndFlushShadowPTs: flushing guest TLBs\n"));
    241241    }
    242242    else
     243    {
     244        Assert(!fFlushTLBs);
    243245        Log(("pgmHandlerPhysicalSetRamFlagsAndFlushShadowPTs: doesn't flush guest TLBs. rc=%Rrc\n", rc));
     246    }
    244247    return rc;
    245248}
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