VirtualBox

Changeset 21927 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 2, 2009 5:19:29 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50594
Message:

SSM,VBox/err.h: SSMR3SkipToEndOfUnit and more error codes.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r21653 r21927  
    489489/** The specified data unit wasn't owned by caller. */
    490490#define VERR_SSM_UNIT_NOT_OWNER                 (-1802)
     491
    491492/** General saved state file integrity error. */
    492493#define VERR_SSM_INTEGRITY                      (-1810)
     
    497498/** The saved state file size didn't match the one in the header. */
    498499#define VERR_SSM_INTEGRITY_SIZE                 (-1813)
    499 /** The CRC of the saved state file did match. */
     500/** The CRC of the saved state file did not match. */
    500501#define VERR_SSM_INTEGRITY_CRC                  (-1814)
    501 /** The current virtual machine id didn't match the virtual machine id. */
     502/** The machine uuid field wasn't null. */
    502503#define VERR_SMM_INTEGRITY_MACHINE              (-1815)
     504/** Saved state header integrity error. */
     505#define VERR_SSM_INTEGRITY_HEADER               (-1816)
     506/** Unit header integrity error. */
     507#define VERR_SSM_INTEGRITY_UNIT                 (-1817)
    503508/** Invalid unit magic (internal data tag). */
    504 #define VERR_SSM_INTEGRITY_UNIT_MAGIC           (-1816)
     509#define VERR_SSM_INTEGRITY_UNIT_MAGIC           (-1818)
    505510/** The file contained a data unit which no-one wants. */
    506 #define VERR_SSM_INTEGRITY_UNIT_NOT_FOUND       (-1817)
    507 /** Incorrect type sizes in the header. */
    508 #define VERR_SSM_INTEGRITY_SIZES                (-1818)
     511#define VERR_SSM_INTEGRITY_UNIT_NOT_FOUND       (-1819)
    509512/** Incorrect version numbers in the header. */
    510 #define VERR_SSM_INTEGRITY_VBOX_VERSION         (-1819)
     513#define VERR_SSM_INTEGRITY_VBOX_VERSION         (-1820)
     514/** Footer integrity error. */
     515#define VERR_SSM_INTEGRITY_FOOTER               (-1821)
     516/** Record header integrity error. */
     517#define VERR_SSM_INTEGRITY_REC_HDR              (-1822)
     518/** Termination record integrity error. */
     519#define VERR_SSM_INTEGRITY_REC_TERM             (-1823)
     520/** Termination record CRC mismatch. */
     521#define VERR_SSM_INTEGRITY_REC_TERM_CRC         (-1824)
     522/** Decompression interity error.  */
     523#define VERR_SSM_INTEGRITY_DECOMPRESSION        (-1825)
     524/** Saved state directory iintegrity error.  */
     525#define VERR_SSM_INTEGRITY_DIR                  (-1826)
     526/** The saved state directory magic is wrong. */
     527#define VERR_SSM_INTEGRITY_DIR_MAGIC            (-1827)
     528
    511529/** A data unit in the saved state file was defined but didn't any
    512530 * routine for processing it. */
    513 #define VERR_SSM_NO_LOAD_EXEC                   (-1820)
     531#define VERR_SSM_NO_LOAD_EXEC                   (-1830)
    514532/** A restore routine attempted to load more data then the unit contained. */
    515 #define VERR_SSM_LOADED_TOO_MUCH                (-1821)
     533#define VERR_SSM_LOADED_TOO_MUCH                (-1831)
    516534/** Not in the correct state for the attempted operation. */
    517 #define VERR_SSM_INVALID_STATE                  (-1822)
     535#define VERR_SSM_INVALID_STATE                  (-1832)
     536/** Not in the correct state for the attempted operation. */
     537#define VERR_SSM_LOADED_TOO_LITTLE              (-1833)
    518538
    519539/** Unsupported data unit version.
    520540 * A SSM user returns this if it doesn't know the u32Version. */
    521 #define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION  (-1823)
     541#define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION  (-1840)
    522542/** The format of a data unit has changed.
    523543 * A SSM user returns this if it's not able to read the format for
    524544 * other reasons than u32Version. */
    525 #define VERR_SSM_DATA_UNIT_FORMAT_CHANGED       (-1824)
     545#define VERR_SSM_DATA_UNIT_FORMAT_CHANGED       (-1841)
    526546/** The CPUID instruction returns different information when loading than when saved.
    527547 * Normally caused by hardware changes on the host, but could also be caused by
    528548 * changes in the BIOS setup. */
    529 #define VERR_SSM_LOAD_CPUID_MISMATCH            (-1825)
     549#define VERR_SSM_LOAD_CPUID_MISMATCH            (-1842)
    530550/** The RAM size differes between the saved state and the VM config. */
    531 #define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH      (-1826)
     551#define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH      (-1843)
    532552/** The state doesn't match the VM configuration in one or another way.
    533553 * (There are certain PCI reconfiguration which the OS could potentially
    534554 * do which can cause this problem. Check this out when it happens.) */
    535 #define VERR_SSM_LOAD_CONFIG_MISMATCH           (-1827)
     555#define VERR_SSM_LOAD_CONFIG_MISMATCH           (-1844)
    536556/** The virtual clock freqency differs too much.
    537557 * The clock source for the virtual time isn't reliable or the code have changed. */
    538 #define VERR_SSM_VIRTUAL_CLOCK_HZ               (-1828)
     558#define VERR_SSM_VIRTUAL_CLOCK_HZ               (-1845)
    539559/** A timeout occured while waiting for async IDE operations to finish. */
    540 #define VERR_SSM_IDE_ASYNC_TIMEOUT              (-1829)
     560#define VERR_SSM_IDE_ASYNC_TIMEOUT              (-1846)
    541561/** One of the structure magics was wrong. */
    542 #define VERR_SSM_STRUCTURE_MAGIC                (-1830)
     562#define VERR_SSM_STRUCTURE_MAGIC                (-1847)
    543563/** The data in the saved state doesn't confirm to expectations. */
    544 #define VERR_SSM_UNEXPECTED_DATA                (-1831)
     564#define VERR_SSM_UNEXPECTED_DATA                (-1848)
    545565/** Trying to read a 64-bit guest physical address into a 32-bit variable. */
    546 #define VERR_SSM_GCPHYS_OVERFLOW                (-1832)
     566#define VERR_SSM_GCPHYS_OVERFLOW                (-1849)
    547567/** Trying to read a 64-bit guest virtual address into a 32-bit variable. */
    548 #define VERR_SSM_GCPTR_OVERFLOW                 (-1833)
     568#define VERR_SSM_GCPTR_OVERFLOW                 (-1850)
    549569/** @} */
    550570
  • trunk/include/VBox/ssm.h

    r21795 r21927  
    513513VMMR3DECL(int) SSMR3GetTimer(PSSMHANDLE pSSM, PTMTIMER pTimer);
    514514VMMR3DECL(int) SSMR3Skip(PSSMHANDLE pSSM, size_t cb);
     515VMMR3DECL(int) SSMR3SkipToEndOfUnit(PSSMHANDLE pSSM);
    515516
    516517/** @} */
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