def revert_snapshots(self, name): vec = [ functools.partial(vm.revert_snapshot, name) for vm in self._vms.values() ] vt = utils.VectorThread(vec) vt.start_all() vt.join_all()
def bootstrap(self): vec = [vm.bootstrap for vm in self._vms.values()] vt = utils.VectorThread(vec) vt.start_all() vt.join_all()