From: Ian Jackson Subject: Re: [PATCH OSSTEST v4 03/25] create_webfile: Support use with guests as well as hosts. Date: Thu, 2 Apr 2015 12:26:47 +0100 Message-ID: <21789.10103.247369.848297@mariner.uk.xensource.com> References: <1427966183.4037.17.camel@citrix.com> <1427966199-5064-3-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1427966199-5064-3-git-send-email-ian.campbell@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 Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH OSSTEST v4 03/25] create_webfile: Support use with guests as well as hosts."): > In particular make the path unique by ensuring it includes the host > and guest name in the guest case. Acked-by: Ian Jackson But I have a minor style quibble: > + # $ho->{Host} is set if $ho is a guest. > + $wf_rhs= $ho->{Host}->{Name}."_${wf_rhs}" if $ho->{Host}; It would be usual to write + $wf_rhs= $ho->{Host}{Name}."_${wf_rhs}" if $ho->{Host}; since only the first -> is required. Thanks, Ian.