VirtualBox

Changeset 55307 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 16, 2015 1:16:17 PM (10 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: nit.

File:
1 edited

Legend:

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

    r55306 r55307  
    73567356         * to be updated too. This is a stripped down version which gets out ASAP trying to not trigger any assertion.
    73577357         */
     7358        RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER; \
    73587359        VMMRZCallRing3RemoveNotification(pVCpu);
    73597360        VMMRZCallRing3Disable(pVCpu);
    7360         HM_DISABLE_PREEMPT();
     7361        RTThreadPreemptDisable(&PreemptState);
    73617362
    73627363        PVM pVM = pVCpu->CTX_SUFF(pVM);
     
    73767377        if (   pVM->hm.s.fAllow64BitGuests
    73777378            && pVCpu->hm.s.vmx.fLazyMsrs)
    7378         {
    73797379            hmR0VmxLazyRestoreHostMsrs(pVCpu);
    7380         }
    73817380#endif
    73827381        /* Update auto-load/store host MSRs values when we re-enter VT-x (as we could be on a different CPU). */
     
    73907389
    73917390        VMMR0ThreadCtxHooksDeregister(pVCpu);
    7392 
    73937391        HMR0LeaveCpu(pVCpu);
    7394         HM_RESTORE_PREEMPT();
     7392        RTThreadPreemptRestore(&PreemptState);
    73957393        return VINF_SUCCESS;
    73967394    }
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