VirtualBox

Changeset 49579 in vbox


Ignore:
Timestamp:
Nov 20, 2013 12:08:05 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90778
Message:

VMM/HMVMXR0: Don't cause unnecessary host-state update in case we're not swapping MSRs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r49526 r49579  
    79007900        AssertRC(rc);
    79017901        STAM_COUNTER_INC(&pVCpu->hm.s.StatPreemptSaveHostState);
     7902
     7903        /*
     7904         * Prevent unnecessary host-state updates in case fUpdatedHostMsrs remains false
     7905         * throughout execution (e.g. if we are not swapping any MSRs)
     7906         */
     7907        pVCpu->hm.s.vmx.fUpdatedHostMsrs = true;
    79027908    }
    79037909    Assert(!VMCPU_HMCF_IS_PENDING(pVCpu, HM_CHANGED_HOST_CONTEXT));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette