Changeset 21927 in vbox for trunk/include/VBox
- Timestamp:
- Aug 2, 2009 5:19:29 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50594
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r21653 r21927 489 489 /** The specified data unit wasn't owned by caller. */ 490 490 #define VERR_SSM_UNIT_NOT_OWNER (-1802) 491 491 492 /** General saved state file integrity error. */ 492 493 #define VERR_SSM_INTEGRITY (-1810) … … 497 498 /** The saved state file size didn't match the one in the header. */ 498 499 #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. */ 500 501 #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. */ 502 503 #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) 503 508 /** Invalid unit magic (internal data tag). */ 504 #define VERR_SSM_INTEGRITY_UNIT_MAGIC (-181 6)509 #define VERR_SSM_INTEGRITY_UNIT_MAGIC (-1818) 505 510 /** 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) 509 512 /** 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 511 529 /** A data unit in the saved state file was defined but didn't any 512 530 * routine for processing it. */ 513 #define VERR_SSM_NO_LOAD_EXEC (-18 20)531 #define VERR_SSM_NO_LOAD_EXEC (-1830) 514 532 /** A restore routine attempted to load more data then the unit contained. */ 515 #define VERR_SSM_LOADED_TOO_MUCH (-18 21)533 #define VERR_SSM_LOADED_TOO_MUCH (-1831) 516 534 /** 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) 518 538 519 539 /** Unsupported data unit version. 520 540 * A SSM user returns this if it doesn't know the u32Version. */ 521 #define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION (-18 23)541 #define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION (-1840) 522 542 /** The format of a data unit has changed. 523 543 * A SSM user returns this if it's not able to read the format for 524 544 * other reasons than u32Version. */ 525 #define VERR_SSM_DATA_UNIT_FORMAT_CHANGED (-18 24)545 #define VERR_SSM_DATA_UNIT_FORMAT_CHANGED (-1841) 526 546 /** The CPUID instruction returns different information when loading than when saved. 527 547 * Normally caused by hardware changes on the host, but could also be caused by 528 548 * changes in the BIOS setup. */ 529 #define VERR_SSM_LOAD_CPUID_MISMATCH (-18 25)549 #define VERR_SSM_LOAD_CPUID_MISMATCH (-1842) 530 550 /** The RAM size differes between the saved state and the VM config. */ 531 #define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH (-18 26)551 #define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH (-1843) 532 552 /** The state doesn't match the VM configuration in one or another way. 533 553 * (There are certain PCI reconfiguration which the OS could potentially 534 554 * do which can cause this problem. Check this out when it happens.) */ 535 #define VERR_SSM_LOAD_CONFIG_MISMATCH (-18 27)555 #define VERR_SSM_LOAD_CONFIG_MISMATCH (-1844) 536 556 /** The virtual clock freqency differs too much. 537 557 * The clock source for the virtual time isn't reliable or the code have changed. */ 538 #define VERR_SSM_VIRTUAL_CLOCK_HZ (-18 28)558 #define VERR_SSM_VIRTUAL_CLOCK_HZ (-1845) 539 559 /** A timeout occured while waiting for async IDE operations to finish. */ 540 #define VERR_SSM_IDE_ASYNC_TIMEOUT (-18 29)560 #define VERR_SSM_IDE_ASYNC_TIMEOUT (-1846) 541 561 /** One of the structure magics was wrong. */ 542 #define VERR_SSM_STRUCTURE_MAGIC (-18 30)562 #define VERR_SSM_STRUCTURE_MAGIC (-1847) 543 563 /** The data in the saved state doesn't confirm to expectations. */ 544 #define VERR_SSM_UNEXPECTED_DATA (-18 31)564 #define VERR_SSM_UNEXPECTED_DATA (-1848) 545 565 /** Trying to read a 64-bit guest physical address into a 32-bit variable. */ 546 #define VERR_SSM_GCPHYS_OVERFLOW (-18 32)566 #define VERR_SSM_GCPHYS_OVERFLOW (-1849) 547 567 /** Trying to read a 64-bit guest virtual address into a 32-bit variable. */ 548 #define VERR_SSM_GCPTR_OVERFLOW (-18 33)568 #define VERR_SSM_GCPTR_OVERFLOW (-1850) 549 569 /** @} */ 550 570 -
trunk/include/VBox/ssm.h
r21795 r21927 513 513 VMMR3DECL(int) SSMR3GetTimer(PSSMHANDLE pSSM, PTMTIMER pTimer); 514 514 VMMR3DECL(int) SSMR3Skip(PSSMHANDLE pSSM, size_t cb); 515 VMMR3DECL(int) SSMR3SkipToEndOfUnit(PSSMHANDLE pSSM); 515 516 516 517 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.