On Tue, 2015-11-10 at 19:53 +0000, Ian Jackson wrote:
> Document the syntax for $ident.
> 
> Log the ident as well as the selected hostname.
> 
> Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
> Tested-by: Robert Ho <robert...@intel.com>
> ---
> v14: New patch
> ---
>  Osstest/TestSupport.pm |   16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
> index aa41952..5e88add 100644
> --- a/Osstest/TestSupport.pm
> +++ b/Osstest/TestSupport.pm
> @@ -810,6 +810,20 @@ sub power_state ($$) {
>  sub selecthost ($) {
>      my ($ident) = @_;
>      # must be run outside transaction
> +
> +    # $ident is <identspec>
> +    #
> +    # <identspec> can be <ident>, typically "host" or "xxx_host"
> +    # which means look up the runvar $r{$ident} which
> +    # contains <hostspec>
> +    # OR
> +    # <identspec> can be <ident>=<hostspec>
> +    # which means ignore <ident> except for logging purposes etc.
> +    # and use <hostspec>
> +    #
> +    # <hostspec> uis <hostname> which means use that host (and all

                    ^is

o/w: Acked-by: Ian Campbell <ian.campb...@citrix.com>


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to