VirtualBox

Changeset 62320 in vbox for trunk


Ignore:
Timestamp:
Jul 19, 2016 11:41:29 AM (9 years ago)
Author:
vboxsync
Message:

VMX: Update uVmcsState when changing VMX state.

File:
1 edited

Legend:

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

    r62106 r62320  
    52835283    /* Clear VMCS. Marking it inactive, clearing implementation-specific data and writing VMCS data back to memory. */
    52845284    VMXClearVmcs(pVCpu->hm.s.vmx.HCPhysVmcs);
     5285    pVCpu->hm.s.vmx.uVmcsState = HMVMX_VMCS_STATE_CLEAR;
    52855286
    52865287    /* Leave VMX Root Mode. */
     
    53165317    rc2 = VMXActivateVmcs(pVCpu->hm.s.vmx.HCPhysVmcs);
    53175318    AssertRC(rc2);
     5319    pVCpu->hm.s.vmx.uVmcsState = HMVMX_VMCS_STATE_ACTIVE;
    53185320    Assert(!(ASMGetFlags() & X86_EFL_IF));
    53195321    ASMSetFlags(fOldEFlags);
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