VirtualBox

Changeset 21974 in vbox for trunk/include


Ignore:
Timestamp:
Aug 5, 2009 9:34:42 AM (15 years ago)
Author:
vboxsync
Message:

Get rid of an annoying assertion during termination; allow disassembly in EMT while the state is set to destroying

File:
1 edited

Legend:

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

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