Re: [edk2-devel] [PATCH 1/3] OvmfPkg: Generate CloudHv as a PVH ELF binary

2022-02-24 Thread Boeuf, Sebastien
On Thu, 2022-02-24 at 07:27 +0100, Gerd Hoffmann wrote: > > > > +DATA = { > > > > +  # > > > > +  # This hex array have been generated by > > > > OvmfPkg/OvmfXenElfHeaderGenerator.c > > > > +  # and copied manually. > > > > > > How about having the generator write a .fdf.inc file which you > > > c

Re: [edk2-devel] [PATCH 1/3] OvmfPkg: Generate CloudHv as a PVH ELF binary

2022-02-23 Thread Gerd Hoffmann
> > > +DATA = { > > > +  # > > > +  # This hex array have been generated by > > > OvmfPkg/OvmfXenElfHeaderGenerator.c > > > +  # and copied manually. > > > > How about having the generator write a .fdf.inc file which you can > > just > > include directly without manual copying? > > I understand t

Re: [edk2-devel] [PATCH 1/3] OvmfPkg: Generate CloudHv as a PVH ELF binary

2022-02-23 Thread Boeuf, Sebastien
On Wed, 2022-02-23 at 13:35 +0100, Sebastien Boeuf wrote: > On Wed, 2022-02-23 at 12:22 +0100, Gerd Hoffmann wrote: > > On Tue, Feb 22, 2022 at 04:53:04PM +0100, Boeuf, Sebastien wrote: > > > From: Sebastien Boeuf > > > > > > Following the model from the Xen target, CloudHv is generated as > > >

Re: [edk2-devel] [PATCH 1/3] OvmfPkg: Generate CloudHv as a PVH ELF binary

2022-02-23 Thread Boeuf, Sebastien
On Wed, 2022-02-23 at 12:22 +0100, Gerd Hoffmann wrote: > On Tue, Feb 22, 2022 at 04:53:04PM +0100, Boeuf, Sebastien wrote: > > From: Sebastien Boeuf > > > > Following the model from the Xen target, CloudHv is generated as a > > PVH > > ELF binary to take advantage of the PVH specification. > >

Re: [edk2-devel] [PATCH 1/3] OvmfPkg: Generate CloudHv as a PVH ELF binary

2022-02-23 Thread Gerd Hoffmann
On Tue, Feb 22, 2022 at 04:53:04PM +0100, Boeuf, Sebastien wrote: > From: Sebastien Boeuf > > Following the model from the Xen target, CloudHv is generated as a PVH > ELF binary to take advantage of the PVH specification. > --- /dev/null > +++ b/OvmfPkg/CloudHv/CloudHvElfHeaderGenerator.c Why c

[edk2-devel] [PATCH 1/3] OvmfPkg: Generate CloudHv as a PVH ELF binary

2022-02-22 Thread Boeuf, Sebastien
From: Sebastien Boeuf Following the model from the Xen target, CloudHv is generated as a PVH ELF binary to take advantage of the PVH specification. Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvElfHeaderGenerator.c | 150 OvmfPkg/CloudHv/CloudHvX64.dsc