Re: [edk2-devel] [RFC PATCH 1/1] OvmfPkg: add 'initrd' shell command to expose Linux initrd via device path

2020-02-14 Thread Ard Biesheuvel
; Ard Biesheuvel > >> > >> Cc: l...@nuviainc.com; phi...@redhat.com; Gao, Zhichao > >> > >> Subject: Re: [edk2-devel] [RFC PATCH 1/1] OvmfPkg: add 'initrd' shell > >> command to expose Linux initrd via device path > >> > >> On 02/12/20 1

Re: [edk2-devel] [RFC PATCH 1/1] OvmfPkg: add 'initrd' shell command to expose Linux initrd via device path

2020-02-13 Thread Ni, Ray
> -Original Message- > From: Laszlo Ersek > Sent: Friday, February 14, 2020 7:15 AM > To: Ni, Ray ; devel@edk2.groups.io; Ard Biesheuvel > > Cc: l...@nuviainc.com; phi...@redhat.com; Gao, Zhichao > > Subject: Re: [edk2-devel] [RFC PATCH 1/1] OvmfPkg: add

Re: [edk2-devel] [RFC PATCH 1/1] OvmfPkg: add 'initrd' shell command to expose Linux initrd via device path

2020-02-13 Thread Laszlo Ersek
On 02/12/20 15:21, Ni, Ray wrote: >> (3) However: I think this should be added as a Dynamic Command instead. >> I'm basing this on the message of commit 0961002352e9 ("ShellPkg/tftp: >> Convert from NULL class library to Dynamic Command", 2017-11-28), which >> is the first commit in edk2 ever to

Re: [edk2-devel] [RFC PATCH 1/1] OvmfPkg: add 'initrd' shell command to expose Linux initrd via device path

2020-02-12 Thread Ni, Ray
> (3) However: I think this should be added as a Dynamic Command instead. > I'm basing this on the message of commit 0961002352e9 ("ShellPkg/tftp: > Convert from NULL class library to Dynamic Command", 2017-11-28), which > is the first commit in edk2 ever to introduce a Dynamic Command. > > And

Re: [edk2-devel] [RFC PATCH 1/1] OvmfPkg: add 'initrd' shell command to expose Linux initrd via device path

2020-02-12 Thread Laszlo Ersek
Adding Ray and Zhichao; comments below On 02/11/20 19:03, Ard Biesheuvel wrote: > Add a new 'initrd' command to the UEFI Shell that allows any file that is > accessible to the shell to be registered as the initrd that is returned > when Linux's EFI stub loader invokes the LoadFile2 protocol on