Allon Mureinik has posted comments on this change. Change subject: core: save memory state on live snapshot with memory ......................................................................
Patch Set 17: Looks good to me, but someone else must approve (2 inline comments) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java Line 128: setSucceeded(true); Line 129: } Line 130: Line 131: @Override Line 132: public NGuid getStorageDomainId() { +1 Line 133: if (cachedStorageDomainId.equals(Guid.Empty) && getVm() != null) { Line 134: long sizeNeeded = getVm().getTotalMemorySizeInBytes() / BYTES_IN_GB; Line 135: StorageDomain storageDomain = VmHandler.findStorageDomainForMemory(getVm().getStoragePoolId(), sizeNeeded); Line 136: if (storageDomain != null) { .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HibernateVmCommand.java Line 38: public class HibernateVmCommand<T extends HibernateVmParameters> extends VmOperationCommandBase<T> { Line 39: private boolean isHibernateVdsProblematic = false; Line 40: Line 41: /** Meta data size for allocation in bytes */ Line 42: public static final long META_DATA_SIZE_IN_BYTES = 10 * 1024; what metadata is this? the QCow header? Line 43: Line 44: /** Line 45: * Constructor for command creation when compensation is applied on startup Line 46: * -- To view, visit http://gerrit.ovirt.org/14291 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifbb28efda1b63e506233a88399488a256e6ab1c8 Gerrit-PatchSet: 17 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Liron Ar <lara...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches