Martin Polednik has uploaded a new change for review.

Change subject: vdsm: remove afterMigrationStatus
......................................................................

vdsm: remove afterMigrationStatus

Not supported by any vdsm anymore

Change-Id: Ia60ffa2c30d091a548cd4ab42e67fc6b5c3f57b4
Signed-off-by: Martin Polednik <mpole...@redhat.com>
---
M vdsm/vm.py
1 file changed, 0 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/06/19306/1

diff --git a/vdsm/vm.py b/vdsm/vm.py
index 92d274e..f356c08 100644
--- a/vdsm/vm.py
+++ b/vdsm/vm.py
@@ -192,10 +192,6 @@
         self._machineParams.update(self._vm.status())
         # patch VM config for targets < 3.1
         self._patchConfigForLegacy()
-        if self._vm._guestCpuRunning:
-            self._machineParams['afterMigrationStatus'] = 'Up'
-        else:
-            self._machineParams['afterMigrationStatus'] = 'Pause'
         self._machineParams['elapsedTimeOffset'] = \
             time.time() - self._vm._startTime
         vmStats = self._vm.getStats()
@@ -3420,7 +3416,6 @@
 
             self._domDependentInit()
             del self.conf['migrationDest']
-            del self.conf['afterMigrationStatus']
             hooks.after_vm_migrate_destination(self._dom.XMLDesc(0), self.conf)
 
             for dev in self._customDevices():


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia60ffa2c30d091a548cd4ab42e67fc6b5c3f57b4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpole...@redhat.com>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to