VirtualBox

Changeset 23709 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 12, 2009 7:11:16 PM (15 years ago)
Author:
vboxsync
Message:

SSM: VINF_SSM_VOTE_FOR_ANOTHER_PASS - for pushing config data in pass 0.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r23151 r23709  
    569569/** Vote for another pass.  */
    570570#define VINF_SSM_VOTE_FOR_ANOTHER_PASS          1851
     571/** Vote for done tell SSM not to call again until the final pass. */
     572#define VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN      1852
    571573/** Vote for giving up.  */
    572 #define VERR_SSM_VOTE_FOR_GIVING_UP             (-1852)
     574#define VERR_SSM_VOTE_FOR_GIVING_UP             (-1853)
    573575/** Giving up a live snapshot/migration attempt because of too many passes. */
    574 #define VERR_SSM_TOO_MANY_PASSES                (-1853)
     576#define VERR_SSM_TOO_MANY_PASSES                (-1854)
    575577/** Giving up a live snapshot/migration attempt because the state grew to
    576578 * big. */
    577 #define VERR_SSM_STATE_GREW_TOO_BIG             (-1854)
     579#define VERR_SSM_STATE_GREW_TOO_BIG             (-1855)
    578580/** Giving up a live snapshot attempt because we're low on disk space.  */
    579 #define VERR_SSM_LOW_ON_DISK_SPACE              (-1855)
     581#define VERR_SSM_LOW_ON_DISK_SPACE              (-1856)
    580582/** The operation was cancelled. */
    581 #define VERR_SSM_CANCELLED                      (-1856)
     583#define VERR_SSM_CANCELLED                      (-1857)
    582584/** Nothing that can be cancelled.  */
    583 #define VERR_SSM_NO_PENDING_OPERATION           (-1857)
     585#define VERR_SSM_NO_PENDING_OPERATION           (-1858)
    584586/** The operation has already been cancelled. */
    585 #define VERR_SSM_ALREADY_CANCELLED              (-1858)
     587#define VERR_SSM_ALREADY_CANCELLED              (-1859)
    586588/** The machine was powered off while saving. */
    587 #define VERR_SSM_LIVE_POWERED_OFF               (-1859)
     589#define VERR_SSM_LIVE_POWERED_OFF               (-1860)
    588590/** The live snapshot/migration operation was aborted because of a guru
    589591 *  meditation. */
    590 #define VERR_SSM_LIVE_GURU_MEDITATION           (-1860)
     592#define VERR_SSM_LIVE_GURU_MEDITATION           (-1861)
    591593/** The live snapshot/migration operation was aborted because of a fatal runtime
    592594 *  error. */
    593 #define VERR_SSM_LIVE_FATAL_ERROR               (-1861)
     595#define VERR_SSM_LIVE_FATAL_ERROR               (-1862)
    594596/** The VM was suspended while saving, don't resume execution. */
    595 #define VINF_SSM_LIVE_SUSPENDED                  1862
     597#define VINF_SSM_LIVE_SUSPENDED                  1863
    596598/** @} */
    597599
  • trunk/include/VBox/ssm.h

    r23598 r23709  
    170170 * @retval  VINF_SUCCESS if done.
    171171 * @retval  VINF_SSM_VOTE_FOR_ANOTHER_PASS if another pass is needed.
     172 * @retval  VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN if the live saving of the unit is
     173 *          done and there is not need calling it again before the final pass.
    172174 * @retval  VERR_SSM_VOTE_FOR_GIVING_UP if its time to give up.
    173175 *
     
    295297 * @retval  VINF_SUCCESS if done.
    296298 * @retval  VINF_SSM_VOTE_FOR_ANOTHER_PASS if another pass is needed.
     299 * @retval  VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN if the live saving of the unit is
     300 *          done and there is not need calling it again before the final pass.
    297301 * @retval  VERR_SSM_VOTE_FOR_GIVING_UP if its time to give up.
    298302 *
     
    421425 * @retval  VINF_SUCCESS if done.
    422426 * @retval  VINF_SSM_VOTE_FOR_ANOTHER_PASS if another pass is needed.
     427 * @retval  VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN if the live saving of the unit is
     428 *          done and there is not need calling it again before the final pass.
    423429 * @retval  VERR_SSM_VOTE_FOR_GIVING_UP if its time to give up.
    424430 *
     
    541547 * being called every time.
    542548 *
    543  * @returns true if done, false if there is more that needs to be saved first.
     549 * @returns VBox status code.
     550 * @retval  VINF_SUCCESS if done.
     551 * @retval  VINF_SSM_VOTE_FOR_ANOTHER_PASS if another pass is needed.
     552 * @retval  VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN if the live saving of the unit is
     553 *          done and there is not need calling it again before the final pass.
     554 * @retval  VERR_SSM_VOTE_FOR_GIVING_UP if its time to give up.
     555 *
    544556 * @param   pSSM            SSM operation handle.
    545557 * @param   pvUser          User argument.
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