Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport: Add missing copies of TPM parameters #724

Merged
merged 3 commits into from Nov 2, 2022

Conversation

mwperina
Copy link
Member

@mwperina mwperina commented Nov 2, 2022

  • core: Add missing items in VmManagementParametersBase copy constructor
  • frontend: Add TPM parameter when cloning a VM from a snapshot
  • core: Update TPM device in parameters

When cloning a VM from a snapshot, isTpmEnabled parameter is not set
in VmSnapshotListModel, resulting in a loss of the TPM device and an
error if the TPM device is mandatory, i.e. for VMs with newer Windows
versions as the guest OS.  This patch fixes the omission and adds the
corresponding parameter.

Bug-Url: oVirt#702
Bug-Url: https://bugzilla.redhat.com/2136180
TPM device is not updated in
VmDeviceUtils.updateVmDevicesInParameters.  This results in omitting
the TPM device at least when exporting a VM to a data domain and an
error when the TPM device is mandatory, i.e. for VMs with a modern
Windows guest OS.  This patch fixes the omission and sets the
corresponding parameter.

Bug-Url: oVirt#702
@ahadas ahadas merged commit 0089bdf into oVirt:ovirt-engine-4.5.3.z Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants