From nobody Sat Feb 7 07:31:17 2026 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1556296960; cv=none; d=zoho.com; s=zohoarc; b=EZwjw34p0gOizZE81gonhLkwEN0ZxsOQF9ubmO0BIbva4MTJnMSbiKyL3Xd129MDZ56soDIUQP57mHpngDHzUKK5ThcdgFVOS/6lWfldV/zVfKLyIGYbrILlvPseWf7+hYYRAwit8jgVnkqd7rZV8auPVNt8Ws4PjU+yW43XEFs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556296960; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=a6f4rfmtqDh0c0Mf0Q7fFCtFhZiBMp3J5ZLVZ4Pb2P8=; b=EJqESAbqp16djhSRtmv7chNCWuc1inzjJ2F/giOIY/IILCxqHw8STzPRIasge3bXod24na1pxJaJQQQ8m0KR0E9TS3/ozHpLj7BB60CMvjx2EOCkwwFZvQyR45JRc2/LKiBLQu6n0wa5F+Y6tGgVcmu/HSGMmq0SQzuSe/5A6Ws= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1556296960301490.492474831438; Fri, 26 Apr 2019 09:42:40 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hK3uf-000848-6L; Fri, 26 Apr 2019 16:41:25 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hK3ud-00083p-UV for xen-devel@lists.xenproject.org; Fri, 26 Apr 2019 16:41:23 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 200fcf27-6842-11e9-843c-bc764e045a96; Fri, 26 Apr 2019 16:41:22 +0000 (UTC) X-Inumbo-ID: 200fcf27-6842-11e9-843c-bc764e045a96 X-IronPort-AV: E=Sophos;i="5.60,398,1549929600"; d="scan'208";a="84519668" From: Ian Jackson To: Date: Fri, 26 Apr 2019 17:39:49 +0100 Message-ID: <20190426164002.22381-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190426164002.22381-1-ian.jackson@eu.citrix.com> References: <20190426164002.22381-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 02/15] TestSupport: target_var: Use host_V for host variables X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Change `target_var' to set `IDENT_V' rather than just V. For compatibility with older flights and older flight construction, look for plain V too when looking up the variable. And, we now look at all_host_V before V. This has no functional change with existing flights, because existing flights only have all_host_suite all_host_di_version all_host_os and we never set the corresponding V form of those variables. So with existing flights the only functional change is a change to synth runvars, to add HOST_ to the name. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index fcbde0a2..6ab64d56 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -2465,8 +2465,7 @@ sub guest_await ($$) { =20 sub target_var_prefix ($) { my ($ho) =3D @_; - if (exists $ho->{Guest}) { return $ho->{Guest}.'_'; } - return ''; + return (exists $ho->{Guest} ? $ho->{Guest} : $ho->{Ident}).'_'; } =20 sub target_var ($$) { @@ -2477,6 +2476,7 @@ sub target_var ($$) { push @prefixes, 'all_guest_'; } else { push @prefixes, 'all_host_'; + push @prefixes, ''; } foreach my $prefix (@prefixes) { my $v =3D $r{ $prefix.$vn }; --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel