From: Thiemo Seufer <ths@networkno.de>
To: Philip Boulain <prb@ecs.soton.ac.uk>
Cc: qemu-devel@nongnu.org
Subject: Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images
Date: Tue, 14 Aug 2007 00:31:13 +0100 [thread overview]
Message-ID: <20070813233112.GC21215@networkno.de> (raw)
In-Reply-To: <0CDF49F7-76CD-45C6-97A6-FA7B6893FD60@ecs.soton.ac.uk>
Philip Boulain wrote:
> On 13 Aug 2007, at 20:39, Thiemo Seufer wrote:
>> Instead of inventing great and wonderfully complicated schemes, the
>> most sensible way I can think of is to recycle a feature which is now
>> implemented in the GNU toolchain, and apparently stems from Windows:
>> qemu @qemu.cfg
>
> I'm not familiar with that. Is it just GNU bash shorthand for qemu `cat
> qemu.cfg` ?
I don't think it has anything to do with bash.
Apparently Windows(NT) cmd.exe introduced this as a way to avoid unwieldy
command lines. Cygwin (or MingGW?) added the same to their tools in order
to avoid command line length problems. Not so long ago it was implemented
for gcc and binutils, both as a way to pass overlong argument lists and
to allow for easier scripting.
>>> I wanted an image to be self-contained as much as possible.
>>> That's what I set to achieve.
>> Which tends to collect all the complexity in a single piece.
>> That seems to be the common problem of the option discussed here.
>
> As far as I can tell, this is desirable for easy distribution of images to
> other machines; this is pretty much my only objection to the 'directory'
> idea, which is otherwise a nice, clean solution. (If not, I can't really
> see what's wrong with a one-liner sh script alongside the image, which is
> basically what has been reinvented.)
It would be a sh script plus a cmd script plus whatever OS X may need
some day, all of them copying the same option line. @file would avoid
that (and allow generic wrapper scripts).
Thiemo
next prev parent reply other threads:[~2007-08-13 23:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-10 4:55 [Qemu-devel] Storing command line options in images Jorge Lucángeli Obes
2007-08-10 16:02 ` [Qemu-devel] Re: [kvm-devel] " Anthony Liguori
2007-08-10 17:14 ` Avi Kivity
2007-08-10 18:43 ` [kvm-devel] [Qemu-devel] " Anthony Liguori
2007-08-10 19:41 ` Avi Kivity
2007-08-10 20:11 ` Anthony Liguori
2007-08-11 1:41 ` Jorge Lucángeli Obes
2007-08-13 8:55 ` Avi Kivity
2007-08-13 9:19 ` Laurent Vivier
2007-08-13 9:27 ` Christian MICHON
2007-08-14 14:18 ` Markus Hitter
2007-08-14 14:31 ` Laurent Vivier
2007-08-14 19:02 ` Jorge Lucángeli Obes
2007-08-14 20:07 ` Thiemo Seufer
2007-08-14 20:46 ` Christian MICHON
2007-08-13 19:39 ` Thiemo Seufer
2007-08-13 20:26 ` Christian MICHON
2007-08-13 22:21 ` Philip Boulain
2007-08-13 22:27 ` [Qemu-devel] Re: [kvm-devel] " Jernej Simončič
2007-08-13 23:31 ` Thiemo Seufer [this message]
2007-08-14 14:26 ` [kvm-devel] [Qemu-devel] " Philip Boulain
2007-08-14 3:17 ` Anthony Liguori
2007-08-14 4:39 ` Jorge Lucángeli Obes
2007-08-14 7:44 ` Kevin Wolf
2007-08-14 7:46 ` Laurent Vivier
2007-08-15 21:26 ` Segher Boessenkool
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=20070813233112.GC21215@networkno.de \
--to=ths@networkno.de \
--cc=prb@ecs.soton.ac.uk \
--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).