From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web12.5306.1641897383004954634 for ; Tue, 11 Jan 2022 02:36:23 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=cmDzCY08; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641897382; x=1673433382; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=8qD0O/eMhJcWa0wklguHhkknrmpSEGddedxeG7XhrjI=; b=cmDzCY08mhHKGkjwxQANvHhwGIVFzmyd1DLRFDj9m0ARuhzS5+jsp5Tq 2Cc2fcTNiFA9xiVOEyOV/Lth1VYOdsQUlSU3h/dQubSCYvVG7ObxBKR/N RrwAXn4yHC5S2u9TdeZgGgQ53O5f+FqJluBuvPXf7S5lt1MsWI9nkxkZe gWRGOFgb17Ud0WMIfnbgYqUUwlf/+wwXlhoLkEOISqBY8wpexCNKWs57Z cydAOG/M8/X8I3Utl+bPUd7z4dIDAvBVWxTCggzakjqhetEmk0Ujx86K/ Y02S4/Sp1HI+leHH8xUMgYbObjVN2Y8tR3LVhtFgg+PkU3XwR1JW+TBQu w==; X-IronPort-AV: E=McAfee;i="6200,9189,10223"; a="243654184" X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="243654184" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2022 02:36:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="576166660" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga008.fm.intel.com with ESMTP; 11 Jan 2022 02:36:22 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 11 Jan 2022 02:36:21 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 11 Jan 2022 02:36:21 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 11 Jan 2022 02:36:19 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lj0n1GmJ6M82zlJ4VV6DWFwWloRplOYs/G84Z0Gk9WPmGgPiMVO8lJSbz3juBrH0NYANwOyZfFuoW5iTtE6+GgazJJUq+tLVD5tdpFnetmq+TqRUtDo0FG2+VSMSkuODNYBmeVQia0fS6Lg07ZYmizhth4lUCharvC+R1poKgvBQCI5SBPPDECoaBbL47+EI0/G/tNjGRCMQEldxSqTBUT3FEPSw6iA9b+F7OquIhpIirvkjhM0egF35l7ydW9rL2h5s826gbzifTOmuOc5o64zbNV93rnzybuPwz71EDIL3AVBs80o0WQzjrSWxMrjC8BKbJf8D2APTCvVGPQUcoA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Gun7+izH7+gtdPrTRqPW3bizCOTHsLhjUAgQg1akWnc=; b=kN+tuhR0LhL0FMFRenCf0mZCDOGNrTPbw1g2lUvdsbT8BerGQYMsBZaXwpsF6HtpHpgYXoUVRAhH07jqoube+d66dhJGdmJNFn3JVxkDyGkblcp7nI/IgrSBCp242EcFJxlXC4MVRzmQPg7H9eqJniIO0iH/CxRLj82UYslm7veZgkxSL/llFoXVb8oJ8XhWQFYAzQYzcjChOkMeM54dqevni/wuc9fCHNiOY4Wbhn5uWs3HzXr9LNy+b8WYOwL9Vort71EfkHyvxvOcoDjC5dJLPBgAi+dp3D8z7HAuYXAbuCqAZvEEXiN0I+8yG6itXNEQsO5igdEV57fzJDYG4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by MWHPR1101MB2125.namprd11.prod.outlook.com (2603:10b6:301:4d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.11; Tue, 11 Jan 2022 10:36:11 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::b8a9:e4f7:e037:771b]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::b8a9:e4f7:e037:771b%7]) with mapi id 15.20.4867.012; Tue, 11 Jan 2022 10:36:10 +0000 From: "Yao, Jiewen" To: "Boeuf, Sebastien" , "devel@edk2.groups.io" CC: "Justen, Jordan L" , "kraxel@redhat.com" Subject: Re: [PATCH v3 11/11] OvmfPkg: Add CloudHvX64 to the CI Thread-Topic: [PATCH v3 11/11] OvmfPkg: Add CloudHvX64 to the CI Thread-Index: AQHYBtUEVy6WDVzpXkKFbbGiSE4lUaxdoGAw Date: Tue, 11 Jan 2022 10:36:10 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 877f6cd9-d2c0-4417-2bfa-08d9d4ee2f43 x-ms-traffictypediagnostic: MWHPR1101MB2125:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NDOtHpdzuxin4/GunMWVLmtX6cC7ohwivFYxgffb8vs3UPtnOV5PN1lDDdT0Av/+mU8yvRLRhb+fKVx+Vs7M+0Nj14jQaK1heDKA6WHTismiRtv8NyyzvgbP6UTLF3ShUX9GDTnujJHRtuqhZ8S/sb25QnJat1nlAqeUeZK0axyN2KtrE9RsL24TH8cNABUauWJ0nWTtkkADBWKbYcdnzna/KOOWOU5b2ZVx1ZP5mIPcj5HkrwES8igABEAhvQIK78z6NkQPz/FBw67w6ix/1CYJhMKqE5xNTfWXjZNVrEoN42/787cCtPw4sLLjJnaT/igQUxH09SrYM21Q6qp+rcCyHX95ruhMDNp1Lbwcx8jslh4R1BkAnpGHsr9Rr/GKSURiXrqaHIo9c2UKawYQkwnCvBpuALdbdiyXKHxaKMNahKhJi3cB/wOBdUfkdcuOnOS+AkXl9YM6RqtgibVjHG+JQXTlUxTz6iDVGqFMrhL1GfFCdO9joZiqkX1IYD95+/oWwW+L+I1kGXK1tC4KRaeFrGSsKqrQ6uOdrgH6ydudA1SeRHaG+bnmKO54fyiIpiTHRTAiJSaqFsXlwlDVYyi4Tbcpvvc/CfIZLx85H0/tZWuClyf0Ka2+KZxONGPU8Cx+xEq8oujGZe3B2UCPxfuNZ/pAcsvvtyA3kfyJtTmDh2MibNtjpDWb0YcHe1nAcJLOVD9RfKqFaKDKsJhjdw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(366004)(26005)(86362001)(6506007)(8676002)(316002)(53546011)(4326008)(7696005)(110136005)(45080400002)(52536014)(5660300002)(508600001)(55016003)(82960400001)(33656002)(66476007)(66446008)(66556008)(64756008)(76116006)(54906003)(66946007)(19627235002)(71200400001)(2906002)(38070700005)(186003)(8936002)(83380400001)(122000001)(9686003)(38100700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?iNHOXBa2OF9ZfZrAXnHP5kYgQGNhLVzG1zQh41p6NtHGW/MJ4EvOUVXCWzLA?= =?us-ascii?Q?F4NOcQxcssRg80JknV6LcXT/roPRVGknH2O51IU3CCD0Y9+qqA1DI0zQ5XrH?= =?us-ascii?Q?wzxfRiSlWTaDfdRxBvCyhK9E6KM6CaflMdx2zHuEagfX/XmXPDSNQgpJCSN8?= =?us-ascii?Q?kRoSTyDq9azMpho4se4r4G3TlROJGkaiQRrK4kDqQCzWeV1H4Q79J8lRK4VH?= =?us-ascii?Q?UpAdrgTOxzLCLjM9PacLrMmML+vOeJq7SPXjjCS1ESrAtr+G9+uqGjUlqM71?= =?us-ascii?Q?cnl+cD0QMkLOFqswfgpaE0tt5DdNV8ao0ofETGai1RbtmPqwUgXpHmF1Ibst?= =?us-ascii?Q?L9Lpc/izXtbuHZKPjS+KXhawH0G8WJ+YVMBL/3ORa/+MFLPTZACoqpyaR0GN?= =?us-ascii?Q?m+klOQXNHkxFtVzGoH1K2mKieNdKIlBdMeyQ6u3W1Xd/mdOAi+Ntj4qBbupx?= =?us-ascii?Q?J3dAW4bbwfqAX7MbRJF9I1GknP+lB8wmNMBwOW4ReVBziusseHm3O0Noua1O?= =?us-ascii?Q?hopi9pui8IGrpt6fY78WAipcVeONKZxdUpdg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ascii?Q?Y7pcnxjCVdaaKGS0ImD1W4tOUgEOYEL323E61gPGybxgZLfiQ//BXyCYI46Y?= =?us-ascii?Q?Dp/IfFmAFCxKxz1WmrP9nXa63eH+Pju2e8qBeuP2owpo7n9JXY6l4SVYuIQC?= =?us-ascii?Q?rSHJ6Ncv2FRJw7CQaNRngsVWEtZDvKKlj6y6YovOHsavxsaGPsBlWQxy86Fu?= =?us-ascii?Q?f0EgWOP4WkNpGgdt8FXzPtI=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 877f6cd9-d2c0-4417-2bfa-08d9d4ee2f43 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2022 10:36:10.9403 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +9yGraJ/oaFi+rk1H4ve62EucpMTvOB/kTzsyrr4GJjWwv//kA55AEMj3r9KkxkGfdMXUPkRDyQhIiuYidTptQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2125 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Acked-by: Jiewen Yao > -----Original Message----- > From: Boeuf, Sebastien > Sent: Tuesday, January 11, 2022 6:21 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Justen, Jordan L > ; kraxel@redhat.com; Boeuf, Sebastien > > Subject: [PATCH v3 11/11] OvmfPkg: Add CloudHvX64 to the CI >=20 > From: Sebastien Boeuf >=20 > Adding the newly created target for Cloud Hypervisor to the CI, > validating it can be properly built. >=20 > Signed-off-by: Sebastien Boeuf > --- > .../.azurepipelines/Ubuntu-GCC5.yml | 9 +++++ > OvmfPkg/PlatformCI/CloudHvBuild.py | 37 +++++++++++++++++++ > 2 files changed, 46 insertions(+) > create mode 100644 OvmfPkg/PlatformCI/CloudHvBuild.py >=20 > diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > index 3fed8e0d06..6dec90d9fc 100644 > --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml > @@ -133,6 +133,15 @@ jobs: > Run.Flags: "QEMU_SKIP=3DTRUE" >=20 > Run: $(should_run) >=20 >=20 >=20 > + CLOUDHV_X64_DEBUG: >=20 > + Build.File: "$(package)/PlatformCI/CloudHvBuild.py" >=20 > + Build.Arch: "X64" >=20 > + Build.Flags: "" >=20 > + Build.Target: "DEBUG" >=20 > + # this build is for cloud-hypervisor not qemu-kvm >=20 > + Run.Flags: "QEMU_SKIP=3DTRUE" >=20 > + Run: $(should_run) >=20 > + >=20 > MICROVM_X64_DEBUG: >=20 > Build.File: "$(package)/PlatformCI/MicrovmBuild.py" >=20 > Build.Arch: "X64" >=20 > diff --git a/OvmfPkg/PlatformCI/CloudHvBuild.py > b/OvmfPkg/PlatformCI/CloudHvBuild.py > new file mode 100644 > index 0000000000..5004222226 > --- /dev/null > +++ b/OvmfPkg/PlatformCI/CloudHvBuild.py > @@ -0,0 +1,37 @@ > +# @file >=20 > +# Script to Build OVMF UEFI firmware >=20 > +# >=20 > +# Copyright (c) Microsoft Corporation. >=20 > +# SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > +## >=20 > +import os >=20 > +import sys >=20 > + >=20 > +sys.path.append(os.path.dirname(os.path.abspath(__file__))) >=20 > +from PlatformBuildLib import SettingsManager >=20 > +from PlatformBuildLib import PlatformBuilder >=20 > + >=20 > + # > ################################################################# > ###################### # >=20 > + # Common Configuration = # >=20 > + # > ################################################################# > ###################### # >=20 > +class CommonPlatform(): >=20 > + ''' Common settings for this platform. Define static data here and = use >=20 > + for the different parts of stuart >=20 > + ''' >=20 > + PackagesSupported =3D ("OvmfPkg",) >=20 > + ArchSupported =3D ("X64",) >=20 > + TargetsSupported =3D ("DEBUG", "RELEASE", "NOOPT") >=20 > + Scopes =3D ('ovmf', 'edk2-build') >=20 > + WorkspaceRoot =3D os.path.realpath(os.path.join( >=20 > + os.path.dirname(os.path.abspath(__file__)), "..", "..")) >=20 > + >=20 > + @classmethod >=20 > + def GetDscName(cls, ArchCsv: str) -> str: >=20 > + ''' return the DSC given the architectures requested. >=20 > + >=20 > + ArchCsv: csv string containing all architectures to build >=20 > + ''' >=20 > + return "CloudHv/CloudHvX64.dsc" >=20 > + >=20 > +import PlatformBuildLib >=20 > +PlatformBuildLib.CommonPlatform =3D CommonPlatform > \ No newline at end of file > -- > 2.30.2