VirtualBox

Changeset 21986 in vbox for trunk/include


Ignore:
Timestamp:
Aug 5, 2009 11:39:12 AM (15 years ago)
Author:
vboxsync
Message:

VBox/vm.h: Avoid VM_IS_EMT in VM_ASSERT_VALID_EXT_RETURN to same a few ticks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vm.h

    r21974 r21986  
    626626#define VM_ASSERT_VALID_EXT_RETURN(pVM, rc) \
    627627        AssertMsgReturn(    RT_VALID_ALIGNED_PTR(pVM, PAGE_SIZE) \
    628                         &&  (unsigned)(pVM)->enmVMState < (unsigned) (VM_IS_EMT(pVM) ? VMSTATE_TERMINATED : VMSTATE_DESTROYING), \
     628                        &&  (   (unsigned)(pVM)->enmVMState < (unsigned)VMSTATE_DESTROYING \
     629                             || (   (unsigned)(pVM)->enmVMState == (unsigned)VMSTATE_DESTROYING \
     630                                 && VM_IS_EMT(pVM))), \
    629631                        ("pVM=%p state %s\n", (pVM), RT_VALID_ALIGNED_PTR(pVM, PAGE_SIZE) \
    630632                         ? VMGetStateName(pVM->enmVMState) : ""), \
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