Change in ovirt-engine[master]: core: fix for memory being removed from stateless snapshot

ofrenkel at redhat.com ofrenkel at redhat.com
Sun Jun 30 15:19:57 UTC 2013


Omer Frenkel has submitted this change and it was merged.

Change subject: core: fix for memory being removed from stateless snapshot
......................................................................


core: fix for memory being removed from stateless snapshot

This patch changes the memory removal on RunVmCommand so that it will be
removed from the active snapshot instead of removing it from the
stateless snapshot for a VM that runs in stateless mode.

Change-Id: Ib4d2db4a5a21217b7ffce9a634524e196064276e
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/RunVmCommand.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/SnapshotDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/SnapshotDaoDbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/SnapshotDaoTest.java
M backend/manager/modules/dal/src/test/resources/fixtures.xml
M packaging/dbscripts/snapshots_sp.sql
6 files changed, 30 insertions(+), 27 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4d2db4a5a21217b7ffce9a634524e196064276e
Gerrit-PatchSet: 5
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: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list