VirtualBox

Changeset 94763 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Apr 29, 2022 4:36:29 PM (3 years ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/VBox/VMM/testcase
Files:
2 edited

Legend:

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

    r93115 r94763  
    3434{
    3535    PSSMHANDLE pSSM;
    36     int rc = SSMR3Open(pszFilename, 0, &pSSM);
     36    int rc = SSMR3Open(pszFilename, NULL /*pStreamOps*/, NULL /*pvStreamOps*/, 0, &pSSM);
    3737    RTEXITCODE rcExit = RTEXITCODE_FAILURE;
    3838    if (RT_SUCCESS(rc))
  • 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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette