Change in vdsm[master]: virt: Send event after shutdown or reboot initiation

vfeenstr at redhat.com vfeenstr at redhat.com
Tue Jul 21 13:34:58 UTC 2015


Vinzenz Feenstra has uploaded a new change for review.

Change subject: virt: Send event after shutdown or reboot initiation
......................................................................

virt: Send event after shutdown or reboot initiation

In order for the engine to see the Powering Down and
Reboot in Progress states, we now do send an event.

Change-Id: I756b4e5d1aa3f32ba58f9e0a05178f1f71af7a59
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/62/43862/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index f835d0b..5317dd8 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -1219,6 +1219,7 @@
             self._guestEvent = vmstatus.POWERING_DOWN
             powerDown = VmShutdown(self, delay, message, timeout, force,
                                    self._powerDownEvent)
+        self.send_status_event()
         return powerDown.start()
 
     def _cleanupDrives(self, *drives):


-- 
To view, visit https://gerrit.ovirt.org/43862
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I756b4e5d1aa3f32ba58f9e0a05178f1f71af7a59
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr at redhat.com>


More information about the vdsm-patches mailing list