[edk2-devel] [PATCH v3] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe

Lin, Gary (HPS OE-Linux) posted 1 patch 2 years, 8 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
OvmfPkg/OvmfXen.dsc | 1 +
OvmfPkg/OvmfXen.fdf | 1 +
2 files changed, 2 insertions(+)
[edk2-devel] [PATCH v3] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe
Posted by Lin, Gary (HPS OE-Linux) 2 years, 8 months ago
https://bugzilla.tianocore.org/show_bug.cgi?id=3574

Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download
the kernel, initrd, and kernel command line from QEMU's fw_cfg.

v3:
  Add the bugzilla link

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Julien Grall <julien@xen.org>
Cc: Jim Fehlig <jfehlig@suse.com>
Cc: Joey Li <jlee@suse.com>
Signed-off-by: Gary Lin <gary.lin@hpe.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
---
 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



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79706): https://edk2.groups.io/g/devel/message/79706
Mute This Topic: https://groups.io/mt/85080285/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v3] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe
Posted by Philippe Mathieu-Daudé 2 years, 8 months ago
On 8/23/21 9:08 AM, Lin, Gary (HPS OE-Linux) wrote:
> https://bugzilla.tianocore.org/show_bug.cgi?id=3574
> 
> Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download
> the kernel, initrd, and kernel command line from QEMU's fw_cfg.
> 
> v3:
>   Add the bugzilla link
> 
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Anthony Perard <anthony.perard@citrix.com>
> Cc: Julien Grall <julien@xen.org>
> Cc: Jim Fehlig <jfehlig@suse.com>
> Cc: Joey Li <jlee@suse.com>
> Signed-off-by: Gary Lin <gary.lin@hpe.com>
> Acked-by: Anthony PERARD <anthony.perard@citrix.com>
> ---
>  OvmfPkg/OvmfXen.dsc | 1 +
>  OvmfPkg/OvmfXen.fdf | 1 +
>  2 files changed, 2 insertions(+)

Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79716): https://edk2.groups.io/g/devel/message/79716
Mute This Topic: https://groups.io/mt/85080285/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v3] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe
Posted by Gerd Hoffmann 2 years, 8 months ago
On Mon, Aug 23, 2021 at 03:08:14PM +0800, Lin, Gary (HPS OE-Linux) wrote:
> https://bugzilla.tianocore.org/show_bug.cgi?id=3574
> 
> Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download
> the kernel, initrd, and kernel command line from QEMU's fw_cfg.
> 
> v3:
>   Add the bugzilla link

Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79755): https://edk2.groups.io/g/devel/message/79755
Mute This Topic: https://groups.io/mt/85080285/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v3] OvmfPkg/OvmfXen: add QemuKernelLoaderFsDxe
Posted by Jim Fehlig via groups.io 2 years, 8 months ago
On 8/23/21 1:08 AM, Gary Lin wrote:
> https://bugzilla.tianocore.org/show_bug.cgi?id=3574
> 
> Without QemuKernelLoaderFsDxe, QemuLoadKernelImage() couldn't download
> the kernel, initrd, and kernel command line from QEMU's fw_cfg.
> 
> v3:
>    Add the bugzilla link
> 
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Anthony Perard <anthony.perard@citrix.com>
> Cc: Julien Grall <julien@xen.org>
> Cc: Jim Fehlig <jfehlig@suse.com>
> Cc: Joey Li <jlee@suse.com>
> Signed-off-by: Gary Lin <gary.lin@hpe.com>
> Acked-by: Anthony PERARD <anthony.perard@citrix.com>
> ---
>   OvmfPkg/OvmfXen.dsc | 1 +
>   OvmfPkg/OvmfXen.fdf | 1 +
>   2 files changed, 2 insertions(+)

FWIW

Tested-by: Jim Fehlig <jfehlig@suse.com>

Regards,
Jim

> 
> 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
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79777): https://edk2.groups.io/g/devel/message/79777
Mute This Topic: https://groups.io/mt/85080285/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-