Change in ovirt-engine[master]: core: Use allow snapshot attribute on disk update.

mlipchuk at redhat.com mlipchuk at redhat.com
Tue May 15 11:01:10 UTC 2012


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Use allow snapshot attribute on disk update.
......................................................................


core: Use allow snapshot attribute on disk update.

Update allow snapshot field in the disk according to the shareable disk
flag.
Validate that disk can not be configured as shared if it contains
snapshots in it or boot indication.
Also update the vm snapshot id to null if the disk can not be use in a
snapshot.

Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
Change-Id: Ib4488ad0d983854483aee5520ae2a233c96bfdb4
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
1 file changed, 61 insertions(+), 4 deletions(-)

Approvals:
  Michael Kublin: Looks good to me, approved
  Maor Lipchuk: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4488ad0d983854483aee5520ae2a233c96bfdb4
Gerrit-PatchSet: 15
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>



More information about the Engine-commits mailing list