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.web11.33291.1628835215469237194 for ; Thu, 12 Aug 2021 23:13:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=BArrtyfo; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=085980678f=gary.lin@hpe.com) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17D64sO1016239; Fri, 13 Aug 2021 06:13:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=pps0720; bh=yuHQgB/Oj0BuTo3Uh/YWvkxg4JSYWuY5qGZKc+HxT20=; b=BArrtyfovrdq+P1Ze+RHOLOgwgzHdl+kL4K4bNrb+NpV40lbPt3kApknef7/VZEnsDse oawMizlyF2YOriWNVY9hY6ETlpxPeHhkzSdvAhFZEMoERLHt3hwI4vy7viwRJCs6fFtb wiksd9enq/V3t1/3Bbmfb2k67aDkKdDX0XwIKvhZTyCOSqfQetH8MqgW8WhfBU7VTn3+ orimbVvCrUZfrnbkaLyoSR5nprGYtJi/mZs+Uzv14OJsmL7Pb54mbnmNGCBOn3Kh7GlV 2C0qSxaeQ4a7xJMR/5rYglA++2hmEKaQzJay208Sy61r/HhjlNA+9n6PUx79A9sq+MAN xA== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0a-002e3701.pphosted.com with ESMTP id 3ad7eb4na9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Aug 2021 06:13:34 +0000 Received: from G4W9121.americas.hpqcorp.net (g4w9121.houston.hp.com [16.210.21.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 635D26A; Fri, 13 Aug 2021 06:13:33 +0000 (UTC) Received: from G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) by G4W9121.americas.hpqcorp.net (2002:10d2:1510::10d2:1510) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 13 Aug 2021 06:13:33 +0000 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (15.241.52.13) by G9W8453.americas.hpqcorp.net (16.216.160.211) with Microsoft SMTP Server (TLS) id 15.0.1497.18 via Frontend Transport; Fri, 13 Aug 2021 06:13:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LmOHzS70zPt7PBSOxXvzLQvuae9OleEkDxMexdFPwuDx7BJ7AtuUvjfYzUTPXJ6Hr4mFgnQsA73ED4plAmq+Rp/2LQlGE0/2x2x0iXoxd2O90jNWZM6aS5SJSaCIWeuVWenX9qNrERzGGaYvc2JZG2PrgOynyXYlx5fe/6SO5ZujWdxzjLtLhSzOHP5zhmUWPj5v1UstnRC7pvmI0ImBNABGFsqj1fySChD37jWDOamJvO/AgDm3KzcWrKBz0XWm2TkrpMWSoMevqt3aOYfV4kxtVUuydJag7s4NuF2z55M7Z29oyLFEAqfie4KXaMZevEN0gB4zx/FuNFlXK5GJCQ== 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=yuHQgB/Oj0BuTo3Uh/YWvkxg4JSYWuY5qGZKc+HxT20=; b=RXZpgZH8MgsiSYH1mjVEl4WeckYldcRBRwNfTsroMDsBbAptCYcZ0305JLFbhzwZzhra+ZL8oYeEXWJNUiOZWv9Ki9n9G5cFvNUUkKM8UUY9rd+Kn4xIts7pGLGzXmGFkjcoBl12/Y8uMZMw5RLTa5KUJtSXTPivxH2iij8Rdw5LUyQqK94fJNaI1DRM6xBNamADRy4udmNfzuu/HaVon9N38EF2+S8AKqB1mDNxHHrtk67dy+ik/y7nclSpwnmITkJg1loLhvxW5cw598eydhLaqMchBQQ+ze1WTsemfSCpol5yQ5oUlh8ZAfVm9DH8oNUs8YlrNxviEVJJ3awnmA== 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 AT5PR8401MB1185.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7420::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.17; Fri, 13 Aug 2021 06:13:32 +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.4415.018; Fri, 13 Aug 2021 06:13:32 +0000 From: "Lin, Gary (HPS OE-Linux)" To: CC: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Anthony Perard , Julien Grall , Jim Fehlig , Joey Li Subject: [PATCH v2 2/5] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe Date: Fri, 13 Aug 2021 14:13:02 +0800 Message-ID: <20210813061305.17519-3-gary.lin@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210813061305.17519-1-gary.lin@hpe.com> References: <20210813061305.17519-1-gary.lin@hpe.com> X-ClientProxiedBy: HK2PR02CA0219.apcprd02.prod.outlook.com (2603:1096:201:20::31) To AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:741f::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (111.240.110.200) by HK2PR02CA0219.apcprd02.prod.outlook.com (2603:1096:201:20::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.14 via Frontend Transport; Fri, 13 Aug 2021 06:13:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9cae7ed2-6bb7-4382-8c10-08d95e2179c0 X-MS-TrafficTypeDiagnostic: AT5PR8401MB1185: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:792; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uvRq4g/C0m1CTfRu/jdeOoJpbJP/x2VoByHQQM38zKQlux/KfNthgYQGszH8EkvGKemswvWn12gGI0X6ME1SAolQA2EZTMuVEOrP/KiYkuKCIE/Gi1ENr8dwZRhsucsqKOTE6iWRwr9baAcQZOP9fy/E8djnIxyjiS8XbMerDTjRcb831hshWfuPoM+Vlt91VmLIC5QXxW538P0XTFmtxO4jkIqw5bhwhLwQHPCrpq/tOyco6LdqiFZvWQCApnns7fcH86VjOlk36QYEBBklbU6vLKctXT3yP1jcYwmByrclCamYBgAl1v0CkmBQ4YAhex7pCD0vVNkoRY/Ynhv1oRUa0EcpdPwubaI5M3NtmBzykMU9gOe5oJ40XqvhhzAiUo78G+uH9sOAZFcHPESq4CW8uW1ECNvkEGWD1aoEDMXKP5eJ3WMR5yWyMKU8tbwAu36mYvr2Phx95j0C4wqrYWffUbkfh++ZhXsDhPBlalY9hMrU2lDxvSMzJ1vXalqZ62I0qlx13zu644oAKmdgsZjhbO+lUTAAeC4YcTdGqCM/KYpFQzQJIv4nXyqEMmAttU0NqHL0h5Tbpa0gUDsW2290pbFcgetjB3Se4yewwyqAS54RN4Jn2+2PALJtior+6T7AAOlCFI2Uso/ccbYF0g== 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)(346002)(396003)(39860400002)(366004)(376002)(136003)(6486002)(186003)(26005)(6496006)(478600001)(66946007)(66476007)(66556008)(83380400001)(6666004)(4326008)(2906002)(86362001)(8936002)(36756003)(38100700002)(8676002)(1076003)(5660300002)(6916009)(44832011)(316002)(54906003)(956004)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xPPYMiakfs0cZZMt6ojN+1XlF6znKPzzW6Hy6JPFsicYMTAjtG4PxNMTkmAz?= =?us-ascii?Q?JUZNw1ntZ216gGrm4R4+/0o83aKnLoJtD2QozXzw/2V+VGcvv/b3t/QBwmxZ?= =?us-ascii?Q?FHrodeeur6y8yWD58Lfu831/+IRhNbbFe8j9gn6Hfq2ygAtd9Wbh4BFr0d9K?= =?us-ascii?Q?RjVeF9aPWJRFs66Apns+aLQ/NMgvyeD6ct44Pm5+LKRSaYx2IdvfoHRCJwTj?= =?us-ascii?Q?af7SfxOdYfqY0hYVbTQwnkbaSErj/M6HW+y+Gt9f4vawK6RBNkZDKlSGP5vj?= =?us-ascii?Q?Ud1jB/4LIZajM0O2aRBYatqJFUNMDTSsNTf0SJfFFRPROQHlTnS60Nfqw4e8?= =?us-ascii?Q?PcZkWM1FyKYovbVFZLsgraDnKKwvDZyzPjyOUtLjMHnsx1wEJ4jemBhx9oFW?= =?us-ascii?Q?CRA5OQcwMFklyoRWwprxE/IR9wcKGKNbDl8//DbJQkWG3aieb0UvtEVe5In2?= =?us-ascii?Q?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enant-Network-Message-Id: 9cae7ed2-6bb7-4382-8c10-08d95e2179c0 X-MS-Exchange-CrossTenant-AuthSource: AT5PR8401MB0387.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2021 06:13:32.0528 (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: AlPGh2yCNA4bQvkyOldNGNHXltX3FsRtGqLwWZJR2hPR2Vh5fl32wxDCi8omM4hL403OBgDLFk9718uGI04rOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB1185 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: 68DGmKxKUzn7gWSRN3UEFwPsYi-ZmlJF X-Proofpoint-GUID: 68DGmKxKUzn7gWSRN3UEFwPsYi-ZmlJF X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-13_01:2021-08-12,2021-08-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 phishscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108130038 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download the kernel, initrd, and kernel command line from QEMU's fw_cfg. 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 --- 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=0D !endif=0D }=0D + OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf=0D OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.inf=0D OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf=0D OvmfPkg/XenBusDxe/XenBusDxe.inf=0D 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=0D INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf=0D INF MdeModulePkg/Application/UiApp/UiApp.inf=0D +INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf=0D INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf=0D INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf=0D INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf=0D --=20 2.31.1