Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 365CDC48BE6 for ; Wed, 16 Jun 2021 06:39:11 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C1D2961107 for ; Wed, 16 Jun 2021 06:39:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1D2961107 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.142698.263227 (Exim 4.92) (envelope-from ) id 1ltPCT-0006f4-0F; Wed, 16 Jun 2021 06:38:57 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 142698.263227; Wed, 16 Jun 2021 06:38:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ltPCS-0006ex-TG; Wed, 16 Jun 2021 06:38:56 +0000 Received: by outflank-mailman (input) for mailman id 142698; Wed, 16 Jun 2021 06:38:55 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ltPCR-0006er-FE for xen-devel@lists.xenproject.org; Wed, 16 Jun 2021 06:38:55 +0000 Received: from de-smtp-delivery-102.mimecast.com (unknown [194.104.109.102]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 7d4cd851-01ed-49b5-8c0f-e188d152c837; Wed, 16 Jun 2021 06:38:54 +0000 (UTC) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02lp2054.outbound.protection.outlook.com [104.47.4.54]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-1-jwuixr1vP9uY2q6s3zHBOw-1; Wed, 16 Jun 2021 08:38:52 +0200 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by VI1PR04MB7149.eurprd04.prod.outlook.com (2603:10a6:800:12e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15; Wed, 16 Jun 2021 06:38:51 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::f06c:6f5d:34d2:1c36]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::f06c:6f5d:34d2:1c36%5]) with mapi id 15.20.4242.019; Wed, 16 Jun 2021 06:38:50 +0000 Received: from [10.156.60.236] (37.24.206.209) by PR3P195CA0028.EURP195.PROD.OUTLOOK.COM (2603:10a6:102:b6::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Wed, 16 Jun 2021 06:38:50 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7d4cd851-01ed-49b5-8c0f-e188d152c837 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1623825533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7o62CH8tMP29dDg5bCfHgvNzv32UOojgxqPbsnjUHHE=; b=YBeS0+X/0b7AqcKqHjHhBxhTQMrVW8Mpm59WQ2ofzUBoqub+Jr/ieIEMeek033vWczM9f4 iYPS6uL1xgB5pmRslkk+o2eoKOhuvzD+nkaByGbM1HoJ58RzXPBTfBAQ7Jaq/Cw1lK6icH mODiNsFSlwTxKReKk9LAA3nXPZ7YRgI= X-MC-Unique: jwuixr1vP9uY2q6s3zHBOw-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VfSixjsENXfEWhVAwvR2ap5Y06f5snoYqPIsr9QmOHhb9p+1oE/w0jxBXPk2pJBDnslnHHPxlOpXlT+VYyE0OxOA7Q5DS2EIj3IyTKOaQvp/qT/8yWDqQUrUfB/xKjgtn1JgwYMmBQwtaiD345UGzFhcdyz/eUI0GbqDZUy/4jTNpPrVq0mkHrujY+NvMdjHMTZb9sg5M1m1C+z1i4SHKepuVmOZK1bt9n6bsnwSe7X9rTS6QrcTvorNhP9U06piUQbBu2h3sb81I4zQeShSGxI9xxrlg+0SVS0SCNEQRU2LH2lNO6PLgfrI5Gx3qlfMqy2/QLyxmuizNzRmYR2Vkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7o62CH8tMP29dDg5bCfHgvNzv32UOojgxqPbsnjUHHE=; b=HLDHR5eQUV8QlhnOYDR1J+v/L4NfKR35FpyYhzu8ba0Wgt496iTroNZhS8rprWzEx0xbEIqN+DgQIQuZIgW+CN6dhAm41BT2NkfSLzkt2zLHsq9ea9FEUZkxFNHnhcUVe2/nDfww8GqlOVsDlysI1giaHGM4OdEk+8bvdA/oB9Ztyu6kpWJTy/6tsUL9Qxt8cYGpAZnQxqY1Fb3Evw3I/qHBht1vOo+02/ac085vVc8KsOa2a5ywTG37jHGSokCZjYAJdzFPcBEhnHGDRZNJlvDT18K7mQdXDtzwn9qlPwTu6BqV3w5Qk6VTr5HSdBjIdT/7jy2eHcD9hb/9phhj6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com; Subject: Re: [PATCH 0/5] tools/tests: More cleanup for automation improvements To: Andrew Cooper Cc: Ian Jackson , Wei Liu , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Juergen Gross , Xen-devel References: <20210615161905.9831-1-andrew.cooper3@citrix.com> From: Jan Beulich Message-ID: <5b0de61c-0276-cf06-4eeb-cda9ca990940@suse.com> Date: Wed, 16 Jun 2021 08:38:48 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 In-Reply-To: <20210615161905.9831-1-andrew.cooper3@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [37.24.206.209] X-ClientProxiedBy: PR3P195CA0028.EURP195.PROD.OUTLOOK.COM (2603:10a6:102:b6::33) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: df56e2b0-d882-4c84-51d3-08d9309166ef X-MS-TrafficTypeDiagnostic: VI1PR04MB7149: X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R4J0mjy/iixNGhIfwRNaSUx4jpSImLGje35l0gaBFDJG8/wm06SUhENi0qtXQo34OUk6+m0kWQcbz3vxFnlMrMjMlH1RXkjEclThPSV86HodCznxHINgbPIo4Y7GFUqlbgQFXpz1Wjy8jVzL5Y1i1DUeBM7csAJ0tQz1FXwoTGoE0j7jnpQXpXscp1Czzi/7fUDRORqZSoj+J/M2LO0G+seU3aJ3sSZ57gY9mJyZ6+zUJnTRhvFykmHfejbazEUC8gM0HZmIhpGzzYtsP8I0YQ4L+uUZ8LxpzJEILrxw3hJbfRZ60W1WD70AOwlNpn14qjMGs+ZSY46SEykoO88kPmj8VfrTEGL84KJwqhHigvc7aURXS60D4m0hcoTyDENgOc3K3ZNUTkK7m0mOvwo3+5VueRMqApVXBB6qfknQr46N1OKuyzbdEXcbTQrf2raICxktNgBlR8whj0DboKs8Kr3cC3PdJXDksUQw24qHrpyEeB771HRANtC23OUmL3iVlLAd77yr3Kgs0Hm7lHMMKYsTmQSIdPLGGFKPXMy26SzEl/m+SRZdXd1c3Qnj23Zp3vHMNppsm7jHrCPyHDRXfk7AZrc5lxrGXEfX5O8WrmSS4XOLDx+E1HV6mtCcsj1WDoMRSS3jnIsD1IwmyjspG2XS8Z/VJn5lSTONltGbj4Z55dOrGZqJWQDPa4nYn1q3 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(396003)(376002)(136003)(39860400002)(366004)(346002)(478600001)(38100700002)(31696002)(8936002)(4326008)(36756003)(16526019)(186003)(66556008)(2906002)(66946007)(8676002)(6486002)(26005)(66476007)(16576012)(83380400001)(2616005)(316002)(956004)(86362001)(5660300002)(31686004)(6916009)(54906003)(53546011)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-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FowVFdLZWdLaUdtM2FD?= =?utf-8?Q?nPOnbJgeMi7J9eQIv0GEF7l3FtrFxrCy9hLYyRW?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: df56e2b0-d882-4c84-51d3-08d9309166ef X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2021 06:38:50.6346 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EbDsX3afsl/wnnpLN2FTu1kapauJ2lud8NIBrBC8s+Uah8wCA8TNUue+0A/gCwzrEatRgea/83Wm5+8gPAUIUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7149 On 15.06.2021 18:19, Andrew Cooper wrote: > Jan/Roger: x86_emulator and vpci use $(HOSTCC) not $(CC). While they are unit > tests, we still potentially want to run them in dom0 rather than the build > environment - particularly for x86_emulator which is heavily CPUID based and > wants to run on a wide set of hardware. Any issues moving them off $(HOSTCC)? Well, yes, I'm afraid: If anything, we may need to build two binaries, or build the one binary two different ways: The "run" (and "run32" for the emulator harness) target wants a binary built with HOSTCC. The install target (which prior to your series does nothing) indeed wants building with CC. So maybe we want something like install: HOSTCC:=$(CC) plus suitable detection of whether the opposite set of objects are presently in the build area, requiring a full rebuild? (Of course this will work only as long as HOSTCC isn't used for any build time helper binaries. See "x86emul: test AMX insns" for when this starts not to be the case anymore for the emulator harness. So we'd need yet another variable to express this detail.) Jan