Skip to content

VMWare Plugin: Fix VirtualSerialPort, NVRAM timeouts configurable#2344

Merged
BareosBot merged 4 commits intobareos:masterfrom
sduehr:dev/sduehr/master/fix-vmware-plugin-virtualserialport
Aug 19, 2025
Merged

VMWare Plugin: Fix VirtualSerialPort, NVRAM timeouts configurable#2344
BareosBot merged 4 commits intobareos:masterfrom
sduehr:dev/sduehr/master/fix-vmware-plugin-virtualserialport

Conversation

@sduehr
Copy link
Member

@sduehr sduehr commented Aug 15, 2025

The VMware Plugin can now save and recreate VMs with VirtualSerialPort devices.

The VMware Plugin have now NVRAM backup/restore timeouts configurable and have improved defaults.

This commit also contains documentation changes about the VDDK Version which was updated to 9.0 and some improvements about the installation of required Python modules.

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

The VMware Plugin can now save and recreate VMs with VirtualSerialPort
devices.

This commit also contains documentation changes about the VDDK Version
which was updated to 9.0 and some improvements about the installation
of required Python modules.
The connection timeout the read/write timeout when backing up or
restoring the NVRAM file are configurable now, also appropriate
default values are used.
@bruno-at-bareos bruno-at-bareos changed the title VMWare Plugin: Fix VirtualSerialPort VMWare Plugin: Fix VirtualSerialPort, make NVRAM timeouts configurable Aug 19, 2025
@bruno-at-bareos bruno-at-bareos changed the title VMWare Plugin: Fix VirtualSerialPort, make NVRAM timeouts configurable VMWare Plugin: Fix VirtualSerialPort, NVRAM timeouts configurable Aug 19, 2025
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent improvement.

A few recommendation coming from pylint can be applied.

Here's the additional one we might be interested to have.

Line 3632

R1701: Consider merging these isinstance calls to isinstance(file_content, (bytearray, bytes)) (consider-merging-isinstance)

Requested changes for PR bareos#2344 and a few more suggested by pylint.
@sduehr sduehr requested a review from bruno-at-bareos August 19, 2025 14:05
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent improvement, thanks for the good work!
Approved

bruno-at-bareos pushed a commit to bruno-at-bareos/bareos that referenced this pull request Aug 19, 2025
Requested changes for PR bareos#2344 and a few more suggested by pylint.

(cherry picked from commit da4f83c)
@BareosBot BareosBot merged commit 418bc03 into bareos:master Aug 19, 2025
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants