From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.6281.1630373407010220148 for ; Mon, 30 Aug 2021 18:30:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=butusld1; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=087783c359=gary.lin@hpe.com) Received: from pps.filterd (m0134422.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17V1I7i2016152; Tue, 31 Aug 2021 01:30:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=u4m+mYf4jUsMx1E2Vj0Kp2oDjLfWme7l1/6sk2tEbEE=; b=butusld1MpUJMlKB2MMzT/TP608Hk0yK/vSKxYZc0KlGsyzhxmYyNiDpoMpjNdCnO5Br KDz5a/pTicUxaxlBeCInpfau1GJ5U3IXQbnAW/8x4uiiWKyGdJw0+v4s1TjGgT5bw4cm 8niaEDuz6OyREablYW3JrH5pouHP5j5w+3UcRBL5FZZjVTadrhrOS8pH+EyK+/OWhMtr fPoeEK1R2DXcrwH2oYCogaQ2Ij+LRtZH62Pt6cYQ5re9K886GY9gcockLyxXesvFW+2Q qbXhlgBaNjWPprmEccpbsj5XWBCx0J76TSikfkBBI9K1lcP5FUF2H3gtYVYiakINbcfy nw== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 3as6xj9b0u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Aug 2021 01:30:02 +0000 Received: from G9W8453.americas.hpqcorp.net (g9w8453.houston.hp.com [16.216.160.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5008.houston.hpe.com (Postfix) with ESMTPS id 6B94862; Tue, 31 Aug 2021 01:30:01 +0000 (UTC) Received: from G1W8108.americas.hpqcorp.net (2002:10c1:483c::10c1:483c) by G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 31 Aug 2021 01:30:01 +0000 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (15.241.52.12) by G1W8108.americas.hpqcorp.net (16.193.72.60) with Microsoft SMTP Server (TLS) id 15.0.1497.18 via Frontend Transport; Tue, 31 Aug 2021 01:30:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h0koTUbLtB3ZlKLL5ek0uI4gfaz544JHtlznu92RFzQCkPRZQEZ1CDmDZNSVbuesJpCQelFnW69AS28JzrXeK0dPqXEi4i/y712jwYrQVR7Sxi3tMhRT3kWNno/OL4I0OebjJ7yFjxaQ2F+0XMgXRTmOjxMwwf6ozrdgW5kHIIR+B7Xq3zA9lJFPUanXmUI53478OR8yuLaN37m9/GRuq8f50DXLoADvr5nAUfB8QxsVNbe4TVQQm63tWDEoDbPHmDvZRB/6Zwo/SH3v5k4oAqAtPJ2cy18vjvtpaNrgv6RCupWq96dL7K07hvdIR1itZcKit3IXX0eRokk3TpHdSw== 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=u4m+mYf4jUsMx1E2Vj0Kp2oDjLfWme7l1/6sk2tEbEE=; b=L1zh/O7CPP/7Kuhcf2/1wnyIFOsAbSjrvpAwVQJlMrjXdDfuYFg4HD6RKKjHFuxtkwApnRl2KVbMq65zuvZcnEXldegdpimTs8oDs3ryozb1rGLT5p7Z9SZwGNGae91QKHkoW2nHMKqHLJr5X8BcG12N2VVC1i/O15VCGklEDE6OmhuQps4RIeHm3bEd57Bs4+4c1AjWH8p0FsYs1dcDtaJzcP67aRVTDKC0sxqz7PvcLyzLot2lSVLrcuEm2+UgVAwVw+CrDHPfGUn/MYwMK1KFjTzrfMumkfbrDnTO4Zr6R3aHGy/85qvSabyDNWU5oNEe7w7/RjEjhWaQcVblqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; Received: from AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:741f::21) by AT5PR8401MB0355.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7425::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.24; Tue, 31 Aug 2021 01:30:00 +0000 Received: from AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM ([fe80::106b:abb8:386b:a2db]) by AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM ([fe80::106b:abb8:386b:a2db%9]) with mapi id 15.20.4436.019; Tue, 31 Aug 2021 01:30:00 +0000 From: "Lin, Gary (HPS OE-Linux)" To: CC: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Anthony Perard , Julien Grall , Jim Fehlig , Joey Li , Philippe Mathieu-Daude , Gerd Hoffmann Subject: [RESEND PATCH v3] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe Date: Tue, 31 Aug 2021 09:29:48 +0800 Message-ID: <20210831012948.22898-1-gary.lin@hpe.com> X-Mailer: git-send-email 2.31.1 X-ClientProxiedBy: HKAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:203:d0::16) To AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:741f::21) X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (111.240.119.140) by HKAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:203:d0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.19 via Frontend Transport; Tue, 31 Aug 2021 01:29:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 961a6fff-9ea5-4519-b895-08d96c1ed917 X-MS-TrafficTypeDiagnostic: AT5PR8401MB0355: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1013; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jsIYqiDnXITn4TQ2x/OtAc7izLZHHNwOxFIJAzhJ4QLlfYtOZXZOhePtabMh3jnAMUMDHA/3QCACZJEh4lo4T6JhqaGhe7u1tNggO4BdfaQVH2xLsbE2HSArQEqsqGaA3F7Cd0s3qcEMdnB3AeuI8tpj3uNW8QGACSK6HeCg9+oO9gVEod9Ur2zTQ/fSI/QwklxB4Sl5qLsa4x2Y2PafaVyMi4H9Njt/0TB2sKx4y0sqlHBdGdxF+mEb6XQ/gLKd38FKyaAzFgRkqnMHjvYHLk06YHn212EjqmfJM/xmYXu/EiGYSeEjAcMefGfhdXaC4Em7OswdpfauXfDDy5ccQ0gIrzIQ6DaaH95e5C5/K1n7V+uBsJSsXpQLoxyKInOwyquZ7ZIMAMSi/vfuiVTYrfGS5w8PSfIlpXWLkVVr8Qp4W8zw1QQDiyxJSoMZg0xT1WFKO5B0TFOXSpFH5hWK15BMdDsiORPYR52rXBlhGAVtc7ss528015zNfUm32q50SLJ9vx9KQCX6jT6SnXcx+74lnUrdP0ek6A/fr23PNAj3rdU2Oew/vZYw743nOOQSFEzlwKzK4bibqYQYdSnovT7vCOwyarMyIarkJjYCnCJ0WJJGEVgRgHLVlOJZVfUyiHQqlYFvSr0XmUW/TM/02tIs99+bWO8m5qqeNpT4A+qe6ENsL6fUvaUWD1iYeyeNj9OsUCFjUYtUE2o+PrA25E0UpMjBuY4YNbdjsBceMDI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(6029001)(366004)(346002)(39860400002)(136003)(396003)(376002)(6486002)(6496006)(44832011)(54906003)(1076003)(36756003)(66476007)(38100700002)(26005)(6916009)(966005)(5660300002)(316002)(478600001)(66556008)(86362001)(7416002)(83380400001)(66946007)(2906002)(2616005)(8936002)(4326008)(956004)(8676002)(6666004)(186003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?M8SLyD1WcPL0ILfWKUVUMKLeyj2njl0DUDYKAHdTQj7UpBwyY8guWU221Vld?= =?us-ascii?Q?z+fiFO1ArgkK2cgP8672KnMxmF/xMzU2luIGiqSQInatWcKoIPcWDq4K6SqP?= =?us-ascii?Q?P/9E+67Yp5MKqMHaAUqsbmHoi6ywvwPdZM2Cd1U4C+p3SnSTmveyi17e35Kp?= =?us-ascii?Q?btGKM77Bbx+YdP5qM9dIWfcWxMGEARevc/conW5EX1fNFrdTXdPddJjLK6bM?= =?us-ascii?Q?rA4DB2//Gf5bAvsACg5Y4g9EdwJ0hM+17zsFpql+NPaC4IZseayf8KONNdr2?= =?us-ascii?Q?sHkoFP3Rs+aiZCN7OF+KK7r+lVC+sNhUJC+YOES1alsDhqsPf+DU3Uphvcq/?= =?us-ascii?Q?HjLGvFsFuqYL8YWjhmI8heSKv7L1y/9p3vaVgxfhp2GO8Y2zeLUyOC/P8pbh?= =?us-ascii?Q?1TCF7OS4b9jXs8Y4SKkN4x9l7nsbPI/62PsG3QmfaHS8HzwOKPSHxHeedLsm?= =?us-ascii?Q?sBhBk18u38YmplHP7KExvF1hKd1E6Ua6zbSx9aCCSVOtc1OfUTcn0tmGEvym?= =?us-ascii?Q?7GSgxdJq7SRXPWoRl/I7w0oIsz8h9g0zybc+TCNwcxo3zeAoKq+54M0V+ImT?= =?us-ascii?Q?x5P0shgmzlVjUmctkum4J9AFoMlasfqsS4jEWbrCdt1Rd1lXGrZkukb3Jf5n?= =?us-ascii?Q?rMHgdEbwEo/a+Rv4lY00eRD6CrQfybE1H7RKr9LCzhx+FMK6YJmMR6cdJ/FL?= =?us-ascii?Q?Wetie68aZt9/SCbR/cljUajAgqU40UqGXmckmLRakrBfRVAzBm01t7GDLxHl?= =?us-ascii?Q?T7klbfv0VpkVSKkYQiwiwkCsD1dyrJRnasw+7VT/5eKjIyI9X7Gsj9Qifeup?= =?us-ascii?Q?wMcHOT7RkTGtR0pKmKiBpfSXD3XpMQEo+Zc5DCdsCtyrv5zl3wxTumyPhixn?= =?us-ascii?Q?RQuD273gYounPoCrYujh8rAJtToex2grrAtSpFQG/5TUDlRSzXVMYqMWy638?= =?us-ascii?Q?/grr28vHiMPw88ulN9qWo8SEBjEgRSB88eNJLWmfVHBnuBi5EPUJE3oHzTBb?= =?us-ascii?Q?yc6bHvyYGuV0ewf5H3xNIG6KSv924F0c7l9OscDASgXrUNKu06Vr7f8V8TgO?= =?us-ascii?Q?WvZdlYsOSOEWDPG6bd+QH2dcw7c91Icd0JxMD0djexnC+jPtUs0YbLKOCq56?= =?us-ascii?Q?PvcKgiSzM3JuwKalynV5IwD8S29S4UzgUbVAMh6SDPAXsZMlJS2xt1rg9IBD?= =?us-ascii?Q?e0vaKJorrNGNAsvxLVoJnrMLHyamA67zsxqmkxzBShvHpKs9SLnohO3zx3KX?= =?us-ascii?Q?Q2n16Bhrg1C4PlGGnBzTuNpnf++mIzXMKNqIiHhwalZ/e1CUh34qzTiMKa04?= =?us-ascii?Q?66YA8MAYCNDCn2tgjeOxU6yG?= X-MS-Exchange-CrossTenant-Network-Message-Id: 961a6fff-9ea5-4519-b895-08d96c1ed917 X-MS-Exchange-CrossTenant-AuthSource: AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2021 01:29:59.9133 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wf2P2R3qs6sOOFHs0+edi/SL5ezc+MzwFmKoSBGRWYnKcHr7PDna9foSoBCcPZgkx+NKOoY/oHMBQMUOpb9fsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB0355 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: NKXBgwXnDUjm6QcoleDwdmMNgG3xzzLm X-Proofpoint-GUID: NKXBgwXnDUjm6QcoleDwdmMNgG3xzzLm X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-30_06:2021-08-30,2021-08-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 impostorscore=0 phishscore=0 adultscore=0 suspectscore=0 priorityscore=1501 spamscore=0 bulkscore=0 mlxlogscore=999 clxscore=1011 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108310006 Content-Type: text/plain Content-Transfer-Encoding: 8bit Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download the kernel, initrd, and kernel command line from QEMU's fw_cfg. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3574 Cc: Ard Biesheuvel Cc: Jiewen Yao cc: Jordan Justen Cc: Anthony Perard Cc: Julien Grall Cc: Jim Fehlig Cc: Joey Li Signed-off-by: Gary Lin Acked-by: Anthony PERARD Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Gerd Hoffmann Tested-by: Jim Fehlig --- v3: Add the bugzilla link --- OvmfPkg/OvmfXen.dsc | 1 + OvmfPkg/OvmfXen.fdf | 1 + 2 files changed, 2 insertions(+) diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 3c1ca6bfd493..1a9c06c164a8 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -587,6 +587,7 @@ [Components] NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf !endif } + OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf OvmfPkg/XenBusDxe/XenBusDxe.inf diff --git a/OvmfPkg/OvmfXen.fdf b/OvmfPkg/OvmfXen.fdf index aeb9336fd5b7..8b5823555937 100644 --- a/OvmfPkg/OvmfXen.fdf +++ b/OvmfPkg/OvmfXen.fdf @@ -324,6 +324,7 @@ [FV.DXEFV] INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf INF MdeModulePkg/Application/UiApp/UiApp.inf +INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf -- 2.31.1