Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-04-07 Thread Yinghai Lu
On Sun, Apr 6, 2008 at 9:38 AM, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > Yinghai Lu wrote: > > > so will cost every bzImage extra memory copy? that could be 18M or > > even more big. > > > > I wouldn't worry about that. You will typically have several copies of the > images during the executio

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-04-07 Thread Yinghai Lu
On Sun, Apr 6, 2008 at 10:25 AM, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > > Yinghai Lu wrote: > > > On Sun, Apr 6, 2008 at 9:38 AM, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > > > > > Yinghai Lu wrote: > > > > > > > > > > so will cost every bzImage extra memory copy? that could be 18M or > > > >

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-04-07 Thread Yinghai Lu
On Wed, Feb 13, 2008 at 1:54 PM, Ian Campbell <[EMAIL PROTECTED]> wrote: > This allows other boot loaders such as the Xen domain builder the > opportunity to extract the ELF file. > > Signed-off-by: Ian Campbell <[EMAIL PROTECTED]> > Cc: Thomas Gleixner <[EMAIL PROTECTED]> > Cc: Ingo Molnar <[E

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-04-06 Thread H. Peter Anvin
Yinghai Lu wrote: > On Sun, Apr 6, 2008 at 9:38 AM, H. Peter Anvin <[EMAIL PROTECTED]> wrote: >> Yinghai Lu wrote: >> >>> so will cost every bzImage extra memory copy? that could be 18M or >>> even more big. >>> >> I wouldn't worry about that. You will typically have several copies of the >> imag

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-04-06 Thread H. Peter Anvin
Yinghai Lu wrote: > so will cost every bzImage extra memory copy? that could be 18M or > even more big. I wouldn't worry about that. You will typically have several copies of the images during the execution of the boot loader. -hpa ___ Virtual

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-04-06 Thread Ian Campbell
On Sun, 2008-04-06 at 00:03 -0700, Yinghai Lu wrote: > so will cost every bzImage extra memory copy? that could be 18M or > even more big. Is it a huge deal for something that happens exactly once on boot? How does the time take compare with the time to do the decompression? 18M seems like an aw

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: > Jeremy Fitzhardinge wrote: >> >> Do you also have a patch to update the boot protocol? >> > > Looking for anything different than the root of this thread? Yes, the patch for the Xen domain builder to boot a bzImage using the Linux boot protocol rather than the Xen one. Ia

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: > > Do you also have a patch to update the boot protocol? > Looking for anything different than the root of this thread? -hpa ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.li

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Jeremy Fitzhardinge
Ian Campbell wrote: > On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > >> I have a xen domain builder patch as well. I was waiting for the Linux >> side to gain some traction before putting it forward (I'd attach it >> now but it's at home on a laptop which is sleeping). >> > > Here

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread H. Peter Anvin
Ian Campbell wrote: > > Agreed. Probably the same deal as the compression format, i.e. use the > magic number but only ELF is possible today (even less likely to change > than the compression format I guess...). > Quite. -hpa ___ Virtualizatio

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > > > > +Field name:compressed_payload_offset > > > +Type: read > > > +Offset/size: 0x248/4 > > > +Protocol: 2.08+ > > > + > > > + If non-zero then this field contains the offset from the end of > the > > > + rea

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 17:37 +, Mark McLoughlin wrote: > On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > With this, AFLAGS would apply to building when building the > prerequisites of header.o too, which you don't want > > The make manual says: > > "when you define a target-specifi

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > > I have a xen domain builder patch as well. I was waiting for the Linux > side to gain some traction before putting it forward (I'd attach it > now but it's at home on a laptop which is sleeping). Here it is: # HG changeset patch # User

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Mark McLoughlin
On Thu, 2008-02-14 at 17:01 +, Ian Campbell wrote: > On Thu, 2008-02-14 at 11:34 +, Mark McLoughlin wrote: > > On Wed, 2008-02-13 at 20:54 +, Ian Campbell wrote: > > > This allows other boot loaders such as the Xen domain builder the > > > opportunity to extract the ELF file. > > > >

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Ian Campbell
On Thu, 2008-02-14 at 11:34 +, Mark McLoughlin wrote: > On Wed, 2008-02-13 at 20:54 +, Ian Campbell wrote: > > This allows other boot loaders such as the Xen domain builder the > > opportunity to extract the ELF file. > > Right, Xen currently can't boot bzImage (it needs the ELF ima

Re: [PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-14 Thread Mark McLoughlin
On Wed, 2008-02-13 at 20:54 +, Ian Campbell wrote: > This allows other boot loaders such as the Xen domain builder the > opportunity to extract the ELF file. Right, Xen currently can't boot bzImage (it needs the ELF image) so you still can't use the same kernel image on Xen as bare-met

[PATCHv3 1/3] x86: use ELF format in compressed images.

2008-02-13 Thread Ian Campbell
This allows other boot loaders such as the Xen domain builder the opportunity to extract the ELF file. Signed-off-by: Ian Campbell <[EMAIL PROTECTED]> Cc: Thomas Gleixner <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: H. Peter Anvin <[EMAIL PROTECTED]> Cc: Jeremy Fitzhardinge <[EMAIL