VirtualBox

Changeset 105266 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jul 11, 2024 7:49:37 AM (6 months ago)
Author:
vboxsync
Message:

Recording: Implemented support for a dedicated progress object, which is exposed to API clients. This can be used for better tracking the recording progress as well as for error reporting. The RecordingSettings API also now has a dedicated start() method to start recording, as well as support for attaching to an already ongoing recording by retrieving the progress object at a later time. Adapted FE/Qt (draft, see @todos), FE/VBoxManage and the Validation Kit testdriver to the new APIs. VBoxManage also can attach to an ongoing recording now. The recording progress object also will have multiple operations to get the recording progress for convenience. bugref:10718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r103520 r105266  
    27182718                            reporter.log('Recording file limit is set to %d MB' % (self.cMbRecordingMax));
    27192719                        oRecSettings = oSession.o.machine.recordingSettings;
    2720                         oRecSettings.enabled     = True;
     2720                        oRecSettings.enabled     = True; # For VBox < 7.1 this also starts recording.
     2721                        if self.fpApiVer >= 7.1:
     2722                            # For VBox >= 7.1 we have to explicitly start the recording.
     2723                            oRecSettings.start();
    27212724                        aoScreens = self.oVBoxMgr.getArray(oRecSettings, 'screens');
    27222725                        for oScreen in aoScreens:
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