Change in ovirt-engine[master]: core: store hibernation volumes in active snapshots

ahadas at redhat.com ahadas at redhat.com
Mon Jan 5 12:34:18 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: core: store hibernation volumes in active snapshots
......................................................................


core: store hibernation volumes in active snapshots

Change hibernate command to save the memory volumes representation in
the active snapshot instead of in vm_dynamic, and all references to the
hibernation volumes in vm_dynamic are changed accordingly.

That way hibernation volumes are stored as memory which is part of
snapshot is stored and that will help us convert all the memory images
to disks.

Change-Id: I30890eb1a75132aa4f67f754c357edc847819908
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HibernateVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmHibernationVolumesCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/StopVmCommandBase.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/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/CreateVmVDSCommand.java
M packaging/dbscripts/snapshots_sp.sql
9 files changed, 56 insertions(+), 31 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Arik Hadas: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I30890eb1a75132aa4f67f754c357edc847819908
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list