VirtualBox

Changeset 22559 in vbox


Ignore:
Timestamp:
Aug 28, 2009 4:47:39 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51586
Message:

ssm changes.

Location:
trunk
Files:
2 edited

Legend:

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

    r22480 r22559  
    8383    /** Will continue execution after saving the VM. */
    8484    SSMAFTER_CONTINUE,
     85    /** Will migrate the VM.
     86     * The source VM will be destroyed (then one saving), the destination VM
     87     * will continue execution. */
     88    SSMAFTER_MIGRATE,
    8589    /** Will debug the saved state.
    8690     * This is used to drop some of the stricter consitentcy checks so it'll
  • trunk/src/VBox/VMM/SSM.cpp

    r22554 r22559  
    33493349     * Validate input.
    33503350     */
    3351     if (    enmAfter != SSMAFTER_DESTROY
    3352         &&  enmAfter != SSMAFTER_CONTINUE)
    3353     {
    3354         AssertMsgFailed(("Invalid enmAfter=%d!\n", enmAfter));
    3355         return VERR_INVALID_PARAMETER;
    3356     }
     3351    AssertMsgReturn(   enmAfter == SSMAFTER_DESTROY
     3352                    || enmAfter == SSMAFTER_CONTINUE
     3353                    || enmAfter == SSMAFTER_MIGRATE,
     3354                    ("%d\n", enmAfter),
     3355                    VERR_INVALID_PARAMETER);
    33573356
    33583357    /*
     
    58435842     * Validate input.
    58445843     */
    5845     if (    enmAfter != SSMAFTER_RESUME
    5846         &&  enmAfter != SSMAFTER_DEBUG_IT)
    5847     {
    5848         AssertMsgFailed(("Invalid enmAfter=%d!\n", enmAfter));
    5849         return VERR_INVALID_PARAMETER;
    5850     }
     5844    AssertMsgReturn(   enmAfter == SSMAFTER_RESUME
     5845                    || enmAfter == SSMAFTER_MIGRATE
     5846                    || enmAfter == SSMAFTER_DEBUG_IT,
     5847                    ("%d\n", enmAfter),
     5848                    VERR_INVALID_PARAMETER);
    58515849
    58525850    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette