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

Propagate backup mode to template disks #780

Merged
merged 1 commit into from
Dec 16, 2022
Merged

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Dec 15, 2022

Previously, all template disks were created with backup mode = NONE regardless of the backup mode of the disks of the VM that the template is created from.

Now the backup mode would propagte from the VM disks to the template disks when their format is qcow2. If the template disks are created as raw their backup mode would be NONE. Enabing to create template disks with incremental backup enabled from VM disks that are raw is outside of the scope of this change.

@ahadas ahadas requested a review from bennyz as a code owner December 15, 2022 18:21
@ahadas ahadas force-pushed the bug_779 branch 3 times, most recently from ced342b to 4c0279d Compare December 15, 2022 19:32
Previously, all template disks were created with backup mode = NONE
regardless of the backup mode of the disks of the VM that the template
is created from.

Now the backup mode would propagate from the VM disks to the template
disks when their format is qcow2. If the template disks are created
as raw their backup mode would be NONE. Enabing to create template
disks with incremental backup enabled from VM disks that are raw is
outside of the scope of this change.

Signed-off-by: Arik Hadas <ahadas@redhat.com>
@ahadas
Copy link
Member Author

ahadas commented Dec 15, 2022

/ost

@ahadas ahadas merged commit e7af087 into oVirt:master Dec 16, 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

2 participants