Skip to contentSkip to conversation

Making qemu images executable (and store command line arguments in them =P)

Qemu-devel Sylvain Petreolle 2 participants 2 messages Aug 16, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

----- Message d'origine ----
De : Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>
À : [email protected]
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 store command line arguments in them =P)

Quoted 6 lines

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 better choice.

binfmt_misc is Linux specific. And while kvm is a Linux thing now, qemu isn't.

Signature · 20 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


Wouldnt be #! Linux specific too ?
 
Kind regards,
Sylvain Petreolle (aka Usurp)
--- --- --- --- --- --- --- --- --- --- --- --- ---
Run your favorite Windows apps with free ReactOS : http://www.reactos.org
Listen to non-DRMised Music: http://www.jamendo.com





-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 497154.10348.qm-kfZ4Lx4gWRrGRxTy+Q50vsz6deESKz/[email protected]

#2 lore raw
Quoted 15 lines · Sylvain Petreolle
Quoted 15 lines

----- Message d'origine ----
De : Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>
À : [email protected]
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 store command line arguments in them =P)

Quoted 6 lines

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 better choice.

Quoted 6 lines
Quoted 4 lines

binfmt_misc is Linux specific. And while kvm is a Linux thing now, qemu isn't.

Wouldnt be #! Linux specific too ?

It's unix-specific, not Linux-specific. Windows users can change file associations to have qemu run .qcow files.

Signature · 9 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/