VirtualBox

Changeset 39368 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Nov 18, 2011 3:19:35 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74964
Message:

VBOX_FULL_VERSION_MAKE: fixed copy & past bug messing up the build part.
SSM: Return VERR_SSM_LOADED_TOO_LITTLE if there is data in the buffer, not only if there are more records before the unit end.
HDA: Fixed the saved state loading stuff again. Canged the saved state to mark up arrays with lengths and serialize using structure puts.

File:
1 edited

Legend:

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

    r35361 r39368  
    375375#define SSMSTRUCT_FLAGS_MEM_BAND_AID        (  SSMSTRUCT_FLAGS_DONT_IGNORE | SSMSTRUCT_FLAGS_FULL_STRUCT \
    376376                                             | SSMSTRUCT_FLAGS_NO_MARKERS  | SSMSTRUCT_FLAGS_SAVED_AS_MEM)
     377/** Band-aid for old SSMR3PutMem/SSMR3GetMem of structurs with host
     378 *  pointers, with relaxed checks. */
     379#define SSMSTRUCT_FLAGS_MEM_BAND_AID_RELAXED (  SSMSTRUCT_FLAGS_DONT_IGNORE \
     380                                              | SSMSTRUCT_FLAGS_NO_MARKERS  | SSMSTRUCT_FLAGS_SAVED_AS_MEM)
    377381/** Mask of the valid bits. */
    378382#define SSMSTRUCT_FLAGS_VALID_MASK          UINT32_C(0x0000000f)
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