VirtualBox

Ignore:
Timestamp:
Apr 29, 2022 4:36:29 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151148
Message:

VMM/SSM: Allow SSMR3Open and SSMR3ValidateFile to take a stream operations callback table, bugref:9955

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstSSM.cpp

    r93554 r94763  
    806806     */
    807807    u64Start = RTTimeNanoTS();
    808     rc = SSMR3ValidateFile(pszFilename, false /* fChecksumIt*/ );
     808    rc = SSMR3ValidateFile(pszFilename, NULL /*pStreamOps*/, NULL /*pvStreamOps*/, false /* fChecksumIt*/ );
    809809    if (RT_FAILURE(rc))
    810810    {
     
    816816
    817817    u64Start = RTTimeNanoTS();
    818     rc = SSMR3ValidateFile(pszFilename, true /* fChecksumIt */);
     818    rc = SSMR3ValidateFile(pszFilename, NULL /*pStreamOps*/, NULL /*pvStreamOps*/, true /* fChecksumIt */);
    819819    if (RT_FAILURE(rc))
    820820    {
     
    830830    u64Start = RTTimeNanoTS();
    831831    PSSMHANDLE pSSM;
    832     rc = SSMR3Open(pszFilename, 0, &pSSM);
     832    rc = SSMR3Open(pszFilename, NULL /*pStreamOps*/, NULL /*pvStreamOps*/, 0, &pSSM);
    833833    if (RT_FAILURE(rc))
    834834    {
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