Dan Kenigsberg has posted comments on this change. Change subject: vm: simplify the shutdown exit reason ......................................................................
Patch Set 1: Code-Review+2 (1 comment) http://gerrit.ovirt.org/#/c/31354/1/vdsm/virt/vm.py File vdsm/virt/vm.py: Line 5151: hooks.after_vm_hibernate(self._lastXMLDesc, self.conf) Line 5152: else: Line 5153: if detail == libvirt.VIR_DOMAIN_EVENT_STOPPED_SHUTDOWN: Line 5154: if self._shutdownReason is None: Line 5155: # do not overwrite admin shutdown, if present a bit raceful, but I'm turtning a blind eye. Line 5156: self._shutdownReason = vmexitreason.USER_SHUTDOWN Line 5157: self._onQemuDeath() Line 5158: elif event == libvirt.VIR_DOMAIN_EVENT_SUSPENDED: Line 5159: self._guestCpuRunning = False -- To view, visit http://gerrit.ovirt.org/31354 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id03e38fe897d3b36fa7fedc016c2420f67d28385 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Francesco Romani <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
