From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 1/2] Nested hosts: Provide hostnamepath and hostnamepath_list Date: Mon, 16 Nov 2015 15:37:00 +0000 Message-ID: <1447688220.27871.111.camel@citrix.com> References: <22089.62523.390831.567056@mariner.uk.xensource.com> <1447687244-16230-1-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 1ZyLqc-0000JD-SU for xen-devel@lists.xenproject.org; Mon, 16 Nov 2015 15:37:38 +0000 In-Reply-To: <1447687244-16230-1-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 Cc: Robert Ho List-Id: xen-devel@lists.xenproject.org On Mon, 2015-11-16 at 15:20 +0000, Ian Jackson wrote: > This can (and often should) be used to replace $ho->{Name}. > > For an L0 host it returns "$ho->{Name}", ie HOST. > > For a plain guest or L1 guest it returns > "$ho->{Host}{Name}_$ho->{Name}", ie HOST_GUEST or HOST_L1. > > For an L2 guest it recurses further, giving HOST_L1_L2. > > Signed-off-by: Ian Jackson I'm not 100% convinced it makes sense to have "path" in the name of the _list variant, but: Acked-by: Ian Campbell