Change in vdsm[master]: Convert vm status strings to constants

vfeenstr at redhat.com vfeenstr at redhat.com
Wed Nov 27 14:32:33 UTC 2013


Vinzenz Feenstra has posted comments on this change.

Change subject: Convert vm status strings to constants
......................................................................


Patch Set 1:

(1 comment)

....................................................
File vdsm/vm.py
Line 228:         # if the guest was stopped before migration, we need to cont it
Line 229:         if self._mode == 'file' or self._method != 'online':
Line 230:             self._vm.cont()
Line 231:         # either way, migration has finished
Line 232:         self._vm.lastStatus = vmstats.UP
Done
Line 233: 
Line 234:     def _finishSuccessfully(self):
Line 235:         self.status['progress'] = 100
Line 236:         if self._mode != 'file':


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I95e6945c2ee9d443e22586f04dc0f9646cc5cbb3
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list