Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-16 Thread Luke -Jr
On Thursday 16 August 2007, H. Peter Anvin wrote: > Jorge Lucángeli Obes wrote: > > The '#!' trick works nice with scripts, but I don't see it playing > > very well with images. ¿Comments? ¿Pointers? > > Well, you can make it work with a header (you just have to pad it out to > a fixed length or us

Re: Re : [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-16 Thread Avi Kivity
Objet : Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and >> store command line arguments in them =P) >> >> >>> Well, you can make it work with a header (you just have to pad it out to >>> a fixed length or use a variable-offset forma

Re : [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-16 Thread Sylvain Petreolle
- Message d'origine De : Avi Kivity <[EMAIL PROTECTED]> À : qemu-devel@nongnu.org Cc : [EMAIL PROTECTED]; Jorge Lucángeli Obes <[EMAIL PROTECTED]> Envoyé le : Jeudi, 16 Août 2007, 7h23mn 16s Objet : Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and s

Re: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread Avi Kivity
H. Peter Anvin wrote: > Jorge Lucángeli Obes wrote: > >> The '#!' trick works nice with scripts, but I don't see it playing >> very well with images. ¿Comments? ¿Pointers? >> >> > > Well, you can make it work with a header (you just have to pad it out to > a fixed length or use a variable-o

[Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line arguments in them =P)

2007-08-15 Thread H. Peter Anvin
Jorge Lucángeli Obes wrote: > > The '#!' trick works nice with scripts, but I don't see it playing > very well with images. ¿Comments? ¿Pointers? > Well, you can make it work with a header (you just have to pad it out to a fixed length or use a variable-offset format), but binfmt_misc might be a