Change in vdsm[master]: virt: add run_async helper
fromani at redhat.com
fromani at redhat.com
Fri Jan 22 12:38:16 UTC 2016
Francesco Romani has posted comments on this change.
Change subject: virt: add run_async helper
......................................................................
Patch Set 5:
(1 comment)
https://gerrit.ovirt.org/#/c/49570/5/vdsm/virt/vm.py
File vdsm/virt/vm.py:
Line 680: self.updateDriveIndex(drv)
Line 681:
Line 682: return [drv for order, drv in drives]
Line 683:
Line 684: def run(self, spawn=run_async):
> Yes, I'd like to use this in cif/API.py.
I'll save this for now, to avoid circular dependencies.
Line 685: try:
Line 686: spawn(self._startUnderlyingVm)
Line 687: except AsyncStartError as ex:
Line 688: return response.error(ex.error)
--
To view, visit https://gerrit.ovirt.org/49570
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Icfb405389c465d2a8b8fc8b6f958926d58167a26
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Milan Zamazal <mzamazal at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list