Change in vdsm[master]: WIP: DONTMERGE: better saveState
fromani at redhat.com
fromani at redhat.com
Wed Feb 3 12:38:21 UTC 2016
Francesco Romani has uploaded a new change for review.
Change subject: WIP: DONTMERGE: better saveState
......................................................................
WIP: DONTMERGE: better saveState
Proof of concept, not realy sure it is atually 'better'
Change-Id: If1c50b56ea322375236dc196a1beb6be6949abec
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/42/53042/1
diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 4084d05..dfbf6de 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -291,7 +291,6 @@
self._domain = DomainDescriptor.from_id(self.id)
self._released = False
self._releaseLock = threading.Lock()
- self.saveState()
self._watchdogEvent = {}
self.arch = cpuarch.effective()
self._powerDownEvent = threading.Event()
@@ -668,6 +667,7 @@
self.memCommitted = 2 ** 20 * memory
def _startUnderlyingVm(self):
+ self.saveState()
self.log.debug("Start")
try:
self.memCommit()
--
To view, visit https://gerrit.ovirt.org/53042
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If1c50b56ea322375236dc196a1beb6be6949abec
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
More information about the vdsm-patches
mailing list