From nobody Mon Feb 9 23:04:08 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=1556707803; cv=none; d=zoho.com; s=zohoarc; b=YdcWuCJV7/JQ1irC4rX+72xT29oq5l4+depYSOr7rP7Llj/BI7dbn3sfqkKdAIh/X3zKHcUAwclcxDMfH/BMguBvtcsSIcsfWfcjM1vcH0DRiVA8LJyr3a1v/+l2HkiAXDl2r9QEwK6utCIwwNhFcf82eT2xdHxkYkCVjEKXEV4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556707803; 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=8AjbRvGPiI0UJ4L1ZYn5tHOxGuXiI8T4t5QokySRcpw=; b=b1zXO1oVMEENhnyoT6JXx1zjVJILBpI3hQOTLAnLt6RKNtyB0yTuUkUZ8gF5CVIdKReYq73RsW2Lq8qnZWIrwUn0cfFEJUdfknFsXbFRxY74KWlR12LAP03thelfzvGPx48iS/BHCFQpFePYYk9sF4HAdr/8RT8NobgYj/hfWp0= 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 1556707803371469.71655802510725; Wed, 1 May 2019 03:50:03 -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 1hLmnB-0005UN-Ck; Wed, 01 May 2019 10:48:49 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hLmnA-0005U6-Nf for xen-devel@lists.xenproject.org; Wed, 01 May 2019 10:48:48 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id b11b630c-6bfe-11e9-b2d5-2709518794a0; Wed, 01 May 2019 10:48:45 +0000 (UTC) X-Inumbo-ID: b11b630c-6bfe-11e9-b2d5-2709518794a0 X-IronPort-AV: E=Sophos;i="5.60,417,1549929600"; d="scan'208";a="84837292" From: Ian Jackson To: Date: Wed, 1 May 2019 11:48:26 +0100 Message-ID: <20190501104839.21621-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190501104839.21621-1-ian.jackson@eu.citrix.com> References: <20190501104839.21621-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 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 f357434f..bb503559 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -2479,8 +2479,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 ($$) { @@ -2491,6 +2490,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