Change in ovirt-engine[master]: core: memory state handling on preview/commit/undo

ofrenkel at redhat.com ofrenkel at redhat.com
Sun Jun 16 14:07:48 UTC 2013


Omer Frenkel has submitted this change and it was merged.

Change subject: core: memory state handling on preview/commit/undo
......................................................................


core: memory state handling on preview/commit/undo

On preview snapshot, add the memory from the previewed snapshot to the
active snapshot that is created, if the 'restoreMemory' flag is set in
the parameters.

On commit/undo, add the memory from the restored snapshot to the active
snapshot that is created.

Change-Id: I42c1b7dd4fcdf12fba1943792a1442984796cf45
Bug-Url: https://bugzilla.redhat.com/960931
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RestoreAllSnapshotsCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/TryBackToAllSnapshotsOfVmParameters.java
4 files changed, 124 insertions(+), 26 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I42c1b7dd4fcdf12fba1943792a1442984796cf45
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Liron Ar <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list