VirtualBox

Changeset 49666 in vbox


Ignore:
Timestamp:
Nov 26, 2013 4:20:09 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Fix darwin 32-bit/PAE kernel case.

File:
1 edited

Legend:

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

    r49665 r49666  
    58515851        HM_DISABLE_PREEMPT_IF_NEEDED();
    58525852
     5853        /* Doing the check here ensures we don't overwrite already-saved guest MSRs from a preemption hook. */
    58535854        if (!(pVCpu->hm.s.vmx.fUpdatedGuestState & HMVMX_UPDATED_GUEST_LAZY_MSRS))
    58545855        {
     
    58605861        VMMRZCallRing3Enable(pVCpu);
    58615862    }
    5862 #else
     5863    else
     5864    {
     5865        /* Darwin 32-bit/PAE kernels. */
     5866        pVCpu->hm.s.vmx.fUpdatedGuestState |= HMVMX_UPDATED_GUEST_LAZY_MSRS;
     5867    }
     5868#else   /* HC_ARCH_BITS == 32 */
    58635869    pVCpu->hm.s.vmx.fUpdatedGuestState |= HMVMX_UPDATED_GUEST_LAZY_MSRS;
    58645870#endif
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