Change in ovirt-engine[master]: core: allow snapshots for imported templates

ofrenkel at redhat.com ofrenkel at redhat.com
Thu Jun 28 07:15:16 UTC 2012


Omer Frenkel has submitted this change and it was merged.

Change subject: core: allow snapshots for imported templates
......................................................................


core: allow snapshots for imported templates

when importing template, the AllowSnapshot is not initialized,
so by default its false, making all the disks not allowed to have snapshots.
this value is copied to the vms and is problematic.

when importing template, it is safe to assume that the AllowSnapshot is true for the disks,
as we only export disks that AllowSnapshot is true.
(this already happens for vms, this patch fix this for templates)

Change-Id: I12413c8b63a0085bbdb68419318eea77a95c85dd
Signed-off-by: Omer Frenkel <ofrenkel at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfManager.java
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/5720
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I12413c8b63a0085bbdb68419318eea77a95c85dd
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>



More information about the Engine-commits mailing list