VirtualBox

Changeset 15503 in vbox for trunk/include


Ignore:
Timestamp:
Dec 15, 2008 1:26:31 PM (16 years ago)
Author:
vboxsync
Message:

SSM, CPUM: Moved the GCPtr/GCPhys sizes into the file header instead of out sourcing it to CPUM, bumped header version (warning: not forward compatible). Assumes 32-bit RTGCPTR on 32-bit hosts using the old header, this will conflict with saved states from the last few days because of 64-bit guest on 32-bit hosts changes but there is no way around that. (64-bit hosts are not affected by this latter issue as they've been using 64-bit guest pointers since 2.0.)

File:
1 edited

Legend:

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

    r15366 r15503  
    449449 */
    450450/** The specified data unit already exist. */
    451 #define VERR_SSM_UNIT_EXISTS                (-1800)
     451#define VERR_SSM_UNIT_EXISTS                    (-1800)
    452452/** The specified data unit wasn't found. */
    453 #define VERR_SSM_UNIT_NOT_FOUND             (-1801)
     453#define VERR_SSM_UNIT_NOT_FOUND                 (-1801)
    454454/** The specified data unit wasn't owned by caller. */
    455 #define VERR_SSM_UNIT_NOT_OWNER             (-1802)
     455#define VERR_SSM_UNIT_NOT_OWNER                 (-1802)
    456456/** General saved state file integrity error. */
    457 #define VERR_SSM_INTEGRITY                  (-1810)
     457#define VERR_SSM_INTEGRITY                      (-1810)
    458458/** The saved state file magic was not recognized. */
    459 #define VERR_SSM_INTEGRITY_MAGIC            (-1811)
     459#define VERR_SSM_INTEGRITY_MAGIC                (-1811)
    460460/** The saved state file version is not supported. */
    461 #define VERR_SSM_INTEGRITY_VERSION          (-1812)
     461#define VERR_SSM_INTEGRITY_VERSION              (-1812)
    462462/** The saved state file size didn't match the one in the header. */
    463 #define VERR_SSM_INTEGRITY_SIZE             (-1813)
     463#define VERR_SSM_INTEGRITY_SIZE                 (-1813)
    464464/** The CRC of the saved state file did match. */
    465 #define VERR_SSM_INTEGRITY_CRC              (-1814)
     465#define VERR_SSM_INTEGRITY_CRC                  (-1814)
    466466/** The current virtual machine id didn't match the virtual machine id. */
    467 #define VERR_SMM_INTEGRITY_MACHINE          (-1815)
     467#define VERR_SMM_INTEGRITY_MACHINE              (-1815)
    468468/** Invalid unit magic (internal data tag). */
    469 #define VERR_SSM_INTEGRITY_UNIT_MAGIC       (-1816)
     469#define VERR_SSM_INTEGRITY_UNIT_MAGIC           (-1816)
    470470/** The file contained a data unit which no-one wants. */
    471 #define VERR_SSM_INTEGRITY_UNIT_NOT_FOUND   (-1817)
     471#define VERR_SSM_INTEGRITY_UNIT_NOT_FOUND       (-1817)
     472/** Incorrect type sizes in the header. */
     473#define VERR_SSM_INTEGRITY_SIZES                (-1818)
     474/** Incorrect version numbers in the header. */
     475#define VERR_SSM_INTEGRITY_VBOX_VERSION         (-1819)
    472476/** A data unit in the saved state file was defined but didn't any
    473477 * routine for processing it. */
    474 #define VERR_SSM_NO_LOAD_EXEC               (-1818)
     478#define VERR_SSM_NO_LOAD_EXEC                   (-1820)
    475479/** A restore routine attempted to load more data then the unit contained. */
    476 #define VERR_SSM_LOADED_TOO_MUCH            (-1819)
     480#define VERR_SSM_LOADED_TOO_MUCH                (-1821)
    477481/** Not in the correct state for the attempted operation. */
    478 #define VERR_SSM_INVALID_STATE              (-1820)
     482#define VERR_SSM_INVALID_STATE                  (-1822)
    479483
    480484/** Unsupported data unit version.
    481485 * A SSM user returns this if it doesn't know the u32Version. */
    482 #define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION  (-1821)
     486#define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION  (-1823)
    483487/** The format of a data unit has changed.
    484488 * A SSM user returns this if it's not able to read the format for
    485489 * other reasons than u32Version. */
    486 #define VERR_SSM_DATA_UNIT_FORMAT_CHANGED       (-1822)
     490#define VERR_SSM_DATA_UNIT_FORMAT_CHANGED       (-1824)
    487491/** The CPUID instruction returns different information when loading than when saved.
    488492 * Normally caused by hardware changes on the host, but could also be caused by
    489493 * changes in the BIOS setup. */
    490 #define VERR_SSM_LOAD_CPUID_MISMATCH            (-1823)
     494#define VERR_SSM_LOAD_CPUID_MISMATCH            (-1825)
    491495/** The RAM size differes between the saved state and the VM config. */
    492 #define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH      (-1824)
     496#define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH      (-1826)
    493497/** The state doesn't match the VM configuration in one or another way.
    494498 * (There are certain PCI reconfiguration which the OS could potentially
    495499 * do which can cause this problem. Check this out when it happens.) */
    496 #define VERR_SSM_LOAD_CONFIG_MISMATCH           (-1825)
     500#define VERR_SSM_LOAD_CONFIG_MISMATCH           (-1827)
    497501/** The virtual clock freqency differs too much.
    498502 * The clock source for the virtual time isn't reliable or the code have changed. */
    499 #define VERR_SSM_VIRTUAL_CLOCK_HZ               (-1826)
     503#define VERR_SSM_VIRTUAL_CLOCK_HZ               (-1828)
    500504/** A timeout occured while waiting for async IDE operations to finish. */
    501 #define VERR_SSM_IDE_ASYNC_TIMEOUT              (-1827)
     505#define VERR_SSM_IDE_ASYNC_TIMEOUT              (-1829)
    502506/** One of the structure magics was wrong. */
    503 #define VERR_SSM_STRUCTURE_MAGIC                (-1828)
     507#define VERR_SSM_STRUCTURE_MAGIC                (-1830)
    504508/** The data in the saved state doesn't confirm to expectations. */
    505 #define VERR_SSM_UNEXPECTED_DATA                (-1829)
     509#define VERR_SSM_UNEXPECTED_DATA                (-1831)
     510/** Trying to read a 64-bit guest physical address into a 32-bit variable. */
     511#define VERR_SSM_GCPHYS_OVERFLOW                (-1832)
     512/** Trying to read a 64-bit guest virtual address into a 32-bit variable. */
     513#define VERR_SSM_GCPTR_OVERFLOW                 (-1833)
    506514/** @} */
    507515
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