VirtualBox

Changeset 47997 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 22, 2013 3:09:38 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Try fix stale VMCS launch state while getting preempted.

File:
1 edited

Legend:

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

    r47989 r47997  
    61326132            pVCpu->hm.s.vmx.uVmcsState = HMVMX_VMCS_STATE_CLEAR;
    61336133        }
    6134 
     6134        pVCpu->hm.s.vmx.uVmcsState &= ~HMVMX_VMCS_STATE_LAUNCHED;
    61356135        pVCpu->hm.s.fLeaveDone = true;
    61366136    }
     
    68786878            hmR0VmxLeave(pVM, pVCpu, pMixedCtx);
    68796879
     6880            int rc;
     6881#if 0
    68806882            /* Flush VMCS CPU state to the VMCS region in memory. */
    6881             int rc;
    68826883            if (pVCpu->hm.s.vmx.uVmcsState & HMVMX_VMCS_STATE_ACTIVE)
    68836884            {
     
    68866887                pVCpu->hm.s.vmx.uVmcsState = HMVMX_VMCS_STATE_CLEAR;
    68876888            }
     6889            pVCpu->hm.s.vmx.uVmcsState &= ~HMVMX_VMCS_STATE_LAUNCHED;
     6890#endif
    68886891
    68896892            /* Leave HM context, takes care of local init (term). */
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