From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 02/13] Planner: docs: Minor fixes Date: Thu, 3 Sep 2015 11:47:26 +0100 Message-ID: <1441277246.26292.338.camel@citrix.com> References: <1441208719-31336-1-git-send-email-ian.jackson@eu.citrix.com> <1441208719-31336-3-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZXS3H-0001un-AL for xen-devel@lists.xenproject.org; Thu, 03 Sep 2015 10:47:31 +0000 In-Reply-To: <1441208719-31336-3-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-09-02 at 16:45 +0100, Ian Jackson wrote: > * Document the ms-queuedaemon banner > * Document the argument to the allocation $resourcecall callback fn. > > Signed-off-by: Ian Jackson > --- > Osstest/Executive.pm | 2 +- > README.planner | 3 +++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm > index bf968c8..ab015d2 100644 > --- a/Osstest/Executive.pm > +++ b/Osstest/Executive.pm > @@ -604,7 +604,7 @@ sub plan_search ($$$$) { > } > > sub alloc_resources { > - my ($resourcecall) = pop @_; > + my ($resourcecall) = pop @_; # $resourcecall->($plan); Took me a while to work out this means $resourcecall is a function which should be called as shown, but now I've got that: Acked-by: Ian Campbell Maybe consider adding "Called as" to the front of the comment though? (Ack either way) > my (%xparams) = @_; > # $resourcecall should die (abort) or return ($ok, $bookinglist) > # > diff --git a/README.planner b/README.planner > index ec4dce8..34eae97 100644 > --- a/README.planner > +++ b/README.planner > @@ -181,6 +181,9 @@ DETAILED PROTOCOL NOTES > > ms-queuedaemon commands > > + < OK ms-queuedaemon [INFO...] > + Banner on connection. INFO should be ignored. > + > > wait > I want to join the plan >