qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: "Jorge Lucángeli Obes" <t4m5yn@gmail.com>
Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [kvm-devel] Making qemu images executable (and store command line	arguments in them =P)
Date: Wed, 15 Aug 2007 21:22:33 -0700	[thread overview]
Message-ID: <46C3D109.3080807@zytor.com> (raw)
In-Reply-To: <59abf66e0708151552r6192f7e1he7ebe5bffd49525f@mail.gmail.com>

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

	-hpa

  parent reply	other threads:[~2007-08-16  4:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 22:52 [Qemu-devel] Making qemu images executable (and store command line arguments in them =P) Jorge Lucángeli Obes
2007-08-15 23:52 ` Mark Williamson
2007-08-16  5:21   ` [kvm-devel] " Avi Kivity
2007-08-16 16:11   ` Andreas Färber
2007-08-16  4:22 ` H. Peter Anvin [this message]
2007-08-16  5:23   ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity
2007-08-16 15:12   ` Luke -Jr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46C3D109.3080807@zytor.com \
    --to=hpa@zytor.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=qemu-devel@nongnu.org \
    --cc=t4m5yn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).