qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jorge Lucángeli Obes" <t4m5yn@gmail.com>
To: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org
Subject: [Qemu-devel] Making qemu images executable (and store command line arguments in them =P)
Date: Wed, 15 Aug 2007 19:52:32 -0300	[thread overview]
Message-ID: <59abf66e0708151552r6192f7e1he7ebe5bffd49525f@mail.gmail.com> (raw)

I've been giving some thought to Anthony's idea:

http://kvm.qumranet.com/kvmwiki/Specs/StoringCommandLineInImage

However, maybe I'm just too much on vacations, but I don't seem to
come up with a nice way of doing this. Everything keeps coming back to
creating a new 'container' image format and then implementing block
layer functions that only add the number of sectors occupied by the
command-line to the read and write calls made by QEMU, and then just
relay those calls to the image-specific functions. That doesn't sound
very efficient.

The '#!' trick works nice with scripts, but I don't see it playing
very well with images. ¿Comments? ¿Pointers?

Cheers,
Jorge

             reply	other threads:[~2007-08-15 22:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 22:52 Jorge Lucángeli Obes [this message]
2007-08-15 23:52 ` [Qemu-devel] Making qemu images executable (and store command line arguments in them =P) Mark Williamson
2007-08-16  5:21   ` [kvm-devel] " Avi Kivity
2007-08-16 16:11   ` Andreas Färber
2007-08-16  4:22 ` [Qemu-devel] Re: [kvm-devel] " H. Peter Anvin
2007-08-16  5:23   ` Avi Kivity
2007-08-16 15:12   ` Luke -Jr
  -- strict thread matches above, loose matches on Subject: below --
2007-08-16 17:05 [Qemu-devel] " Ben Taylor
2007-08-16 20:36 ` Dan Shearer

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=59abf66e0708151552r6192f7e1he7ebe5bffd49525f@mail.gmail.com \
    --to=t4m5yn@gmail.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=qemu-devel@nongnu.org \
    /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).