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 <[email protected]>
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 <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to