VirtualBox

Ignore:
Timestamp:
May 6, 2009 7:46:33 PM (16 years ago)
Author:
vboxsync
Message:

HWACCM: play safe and only change the state to VMCPUSTATE_STARTED if it's VMCPUSTATE_STARTED_EXEC.

File:
1 edited

Legend:

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

    r19457 r19460  
    35193519
    35203520    /* Just set the correct state here instead of trying to catch every goto above. */
    3521     VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED);
     3521    VMCPU_CMPXCHG_STATE(pVCpu, VMCPUSTATE_STARTED, VMCPUSTATE_STARTED_EXEC);
    35223522
    35233523    STAM_STATS({
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