Change in vdsm[master]: vm: event: send status event on powerdown

fromani at redhat.com fromani at redhat.com
Thu Jul 9 06:32:57 UTC 2015


Francesco Romani has uploaded a new change for review.

Change subject: vm: event: send status event on powerdown
......................................................................

vm: event: send status event on powerdown

Make sure to send POWERING_DOWN status
to Engine.

Change-Id: I94261a0115e51a28ab00eed501812583b7871570
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/65/43365/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index b0490d2..6c1a6cc 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -3701,6 +3701,9 @@
             # Terminate the VM's creation thread.
             self._incomingMigrationFinished.set()
             self.guestAgent.stop()
+
+            self.send_status_event()
+
             if self._dom:
                 result = self._destroyVmGraceful()
                 if result['status']['code']:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I94261a0115e51a28ab00eed501812583b7871570
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