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

core: Use edited VM configuration when cloning #368

Merged
merged 2 commits into from
May 18, 2022

Conversation

smelamud
Copy link
Member

Configuration of a cloned VM may be edited before cloning. In this case
it is passed in CloneVmParameters#vm and should be saved in editedVm
variable and passed to UpdateVmCommand that is executed after cloning.

The code that saves this configuration was incorrectly removed by change
6f143de. This patch restores this code
with one difference: UpdateVmCommand is now executed by CoCo, so
editedVm was moved from CloneVmCommand to parameters.

Change-Id: Id77061ba6749351dcfbe832ad1c38288c6ada479
Bug-Url: https://bugzilla.redhat.com/2080758
Signed-off-by: Shmuel Melamud smelamud@redhat.com

Configuration of a cloned VM may be edited before cloning. In this case
it is passed in CloneVmParameters#vm and should be saved in editedVm
variable and passed to UpdateVmCommand that is executed after cloning.

The code that saves this configuration was incorrectly removed by change
6f143de. This patch restores this code
with one difference: UpdateVmCommand is now executed by CoCo, so
editedVm was moved from CloneVmCommand to parameters.

Change-Id: Id77061ba6749351dcfbe832ad1c38288c6ada479
Bug-Url: https://bugzilla.redhat.com/2080758
Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
Change-Id: Ib61dd193a00e6130881de31b325cef8ba3b452ce
Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
@ahadas
Copy link
Member

ahadas commented May 18, 2022

/ost

@ahadas ahadas merged commit dd8fb46 into oVirt:master May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants