From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.29795.1641810955841676894 for ; Mon, 10 Jan 2022 02:35:56 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Ana7HOkz; spf=pass (domain: intel.com, ip: 192.55.52.151, 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=1641810955; x=1673346955; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=9YyZgOnIzdyVmBTqwrZBGTsvZ2lUqdRYjKeV+v797iQ=; b=Ana7HOkzixDEYx0KSubyFVYa2WTmrBuGSTWWlvSgHqNsHEqSub1p6Qj5 zftvXLD2FDvC5QZqkAAtX+7hmjDP9pkdmBWn9K2cjDB2FbBWdWJn2vJGq epWdoPiqPaUITeHgz9GTQdEzT2ik4BX90oS/zBs/69EtMeGDkc8mkyyYg 0y/e9e+663B6Mev6idUi71Rc8Ic7Rv8uMkQmvbMB4RBkr2i/5ph1s8qnA F4kDBdtRKuEulGuzB+eziDYeCBbJru9Ei8vtvuhnZzg7TmjQMdiBpjFym 1c9TJhgsf/fbLqToWAZgVC448DS99OWi0YiFtFgsVZpdWAL1JVBB/GgdG A==; X-IronPort-AV: E=McAfee;i="6200,9189,10222"; a="223893398" X-IronPort-AV: E=Sophos;i="5.88,276,1635231600"; d="scan'208";a="223893398" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2022 02:35:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,276,1635231600"; d="scan'208";a="622632556" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga004.jf.intel.com with ESMTP; 10 Jan 2022 02:35:54 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 10 Jan 2022 02:35:54 -0800 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 10 Jan 2022 02:35:54 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 10 Jan 2022 02:35:53 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 10 Jan 2022 02:35:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XfAqow4CYf491ePIxPJwACSLWa4JY5LNw2mxWygfVdDHkj26uLRqcpdDecLgJVuEKG5Y3qsqcAFfbX6JE3fnaCeXBcnnGq5bI5xl8f0Rqk4pvyb1LODR0jL8DCJ1jAVXcOFic0y/RIgGIRbvJAujnZDbf+uhf1dppTVjA4/EwxYX/nAqn94PJnNJlvN+r06bkuYW0Aa25cfIaZEzhukr2hwpg6fwP7VsFmYZaLEDj20V8veITKHGqiTGQzF5NhdNqEiZ2P2axbL+n7oQlhIXmHEp7ZL3Fu4uakS2C2CtKvSp75XoIODSuD/B1pvACKAl9IGKWhw/gAlbwjF7xsEnug== 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=9YyZgOnIzdyVmBTqwrZBGTsvZ2lUqdRYjKeV+v797iQ=; b=gLGxZLn9p2RJTyllJkJLQkWUB3luMwbOakvNhIbR3X3MyQLsuUb9lNnkoykXIlZH1wV/jqlPBJZEWI0PHYeZjftHTRnZe/PAqC7ZJMEoG8wKWB0PYcT0dXyddFckZcDJZqdOrbtUGCQn6UudY/gsFxiyJLgj+y/jW3uqzOOi7P/N6EqrwGluiY+yoX4JlFfpRSg9gHG75FvofwyuPYpZX44sH5M8qwErhdfqBc3prC2HeDFD9Bw0dlxqN9mjeQ+83QYbMcuiT62/Sr//oNz2FkcTODyR9rriPltagqgWwVU/c+cfhVzLQQqwviU9B/WdLiH4ygeKBwMNnzTNtVCnXA== 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 MWHPR11MB1325.namprd11.prod.outlook.com (2603:10b6:300:1d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.11; Mon, 10 Jan 2022 10:35:52 +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; Mon, 10 Jan 2022 10:35:52 +0000 From: "Yao, Jiewen" To: "Boeuf, Sebastien" , "devel@edk2.groups.io" , "kraxel@redhat.com" Subject: Re: Creating new target for Cloud Hypervisor Thread-Topic: Creating new target for Cloud Hypervisor Thread-Index: AQHYBgFamSu3oPSkOEq/zJqkGoU5raxcDs4A Date: Mon, 10 Jan 2022 10:35:52 +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: 1d1359da-de31-4bd7-1b45-08d9d424f9eb x-ms-traffictypediagnostic: MWHPR11MB1325:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PqhgrG4MOFHL74/tyd+kVZES5VaN2AYug41KqV/wIHCHlrmRJqJuQts/L9xRwWqllG1A/s0dRNWBpTq5tiUntEpEYVcDoSF3mWC+zvzquib4M6Q5Z4nwX2jzvF1NRkeu+izFLERKhJYRzEekm2ReWsWTITIrbEaf+1yg5xQv7RTR19JuRDGLQvjNtGGpkFkfTzMrrogTs6QjlYieUMfW0nbr8uF99tJiEZotqykb85kf9BKMebhZyVNkVRJrgE3WS3YxXNhGklCrWQ6RF5hbC8DyX4i6llw7YMOjAu+yQxfmIarBbArkCJjL192h4HkVxafe7ae8WYG6DfJoXZvxFUo0ddRJ2OjkyT0vf0ZRGH7b8x7quwIOMSlmbl+HN8qn4z3lauaz+PHMUzW7gDGweqXf/1EOM9qTWGN680uCtw86nA6AGsDcb8kkhOM01V9c4wM+aSAG1ZIuMSNqjzV4rVfo+Y+RVRGFmnud2hC14GZp+5QWxgvHWZTcdx/7gukf1gkJVMHizlBS5anDbcIu5R84porT1kLl9OjWmm2w+vzop0y1mSRFpDhoFeHUtDqBQrajdJ4Tj05no6D1Qc/hpeXKOuBafaBGa/pj4ApWOE7O9tl2JdSPWzN1S2tFdFOVQEe1MQa3O3VhSvQsS34kK4AkMK+Tuj9DRT+GRp8XYjy/RCTbZhCwrKa9Be6gEnbpmuOAWpXPOvxZwcDb9cz5IA== 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:(366004)(122000001)(5660300002)(8676002)(7696005)(38100700002)(82960400001)(86362001)(52536014)(83380400001)(26005)(8936002)(186003)(508600001)(9686003)(6506007)(53546011)(38070700005)(71200400001)(55016003)(64756008)(66446008)(66476007)(76116006)(2906002)(66946007)(110136005)(66556008)(316002)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?u6CtAN72NQtMcUGXZQGQciDARXYXQX5Uv0owhOWNFy2niK1z4B4I/guQjx9s?= =?us-ascii?Q?llNPphR/Lof8Zvmccd34mbvDubxSA2xeVJjduv+t+8q/in53qR8Tc66kTQu4?= =?us-ascii?Q?93etRxmihAVEtcb11t49LEu6gXB9hiQIry7n1c1YknjUDwuLPpT8ZjWXT9HK?= =?us-ascii?Q?Kkp6fGbN2xJ2qiAYoRmCQhgeVfK4dzfTWBVYIkOCVpsrCuyfLaaJVrrzMv0V?= =?us-ascii?Q?yYUJ/cQgmLEP9UP5SsXijSjLZf4B28pIBGNiasXV9UXyomVe2cddAV0jMMof?= =?us-ascii?Q?LIFcWYkEHM1HY7Y+HS95ALE7DlGiuqIGoo32+V8aGJQ5DuWRcSB+Ngor5FmZ?= =?us-ascii?Q?vwTICphd366gUdw2h+JKrlIH0Nvf8+jq3xLz0zPjO7f78JxC4nLNAn+eo7+K?= =?us-ascii?Q?74n95funZP94QGH+3tf62pOGOz1up2tXfj1RyqYKwnq/XHdKmjWRGQXXIwVk?= =?us-ascii?Q?gv5AfYntgVGnlqG7bTCFeAci8PM5HF4eIipMUWOzf2Coh5STBm0z5xQTKKor?= =?us-ascii?Q?kjcJIj5vMzxISqoWakBdQI8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?us-ascii?Q?TItozi9D0ARfMRiI5JX6jNgPV/tZty20MD7q3ONw+ZsbpJtaRn1E/MwTqzSw?= =?us-ascii?Q?ajqoPk1qVFZn/YvbqxlbC3Oo4vHB/SxFDoLtHhzz2SmxFdEP3I7Zt8ZXxraS?= =?us-ascii?Q?aMHbE7/w8ACiq32yD54Wxr/UIPqiaifDMNjjFxQ5QKHHwXbLjqlBmXuPrWfp?= =?us-ascii?Q?d+UKcgeRkmaPPR5XmSIlZbs=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: 1d1359da-de31-4bd7-1b45-08d9d424f9eb X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2022 10:35:52.5231 (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: ekj2tS/IYRyua550nWSgQfLXorQCfzOm5nvfmapGfWqQsU1pupGbFKvW2kka684ykD2Kufqg2pSCj91gH7S4uQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1325 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 Looking at current OvmfPkg today. We have: OvmfPkg\OvmfPkgIa32.fdf OvmfPkg\OvmfPkgIa32X64.fdf OvmfPkg\OvmfPkgX64.fdf OvmfPkg\OvmfXen.fdf OvmfPkg\AmdSev\AmdSevX64.fdf OvmfPkg\Bhyve\BhyveX64.fdf OvmfPkg\Microvm\MicrovmX64.fdf And we will have OvmfPkg\IntelTdx\IntelTdxX64.fdf soon. I think it is OK to create: OvmfPkg\CloudHv\CloudHvX64.fdf Thank you Yao Jiewen > -----Original Message----- > From: Boeuf, Sebastien > Sent: Monday, January 10, 2022 5:14 PM > To: devel@edk2.groups.io; kraxel@redhat.com; Yao, Jiewen > > Subject: Creating new target for Cloud Hypervisor >=20 > Hi all, >=20 > So far I've been able to patch the OvmfPkgX64 target to make it work for = both > QEMU and Cloud Hypervisor, but as I try to enable more features (EFI shel= l for > instance) the gap is getting bigger and harder to keep them working toget= her. >=20 > That's why I'm thinking about creating an OvmfCh target that would be a s= imple > copy of OvmfX64 at first, and then we could keep improving from there. Th= ere > are > multiple things that are not needed by Cloud Hypervisor, which might help > reduce > the complexity of the firmware, eventually leading to faster boot. >=20 > I'd like some confirmation from the community that it's okay to go down t= his > road > before I proceed and send the patches. >=20 > Thanks, > Sebastien