From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 4/4][RFC] Add logic to QEMU to read command line options from qcow2 images
Date: Sat, 11 Aug 2007 14:53:56 -0500 [thread overview]
Message-ID: <46BE13D4.6090702@codemonkey.ws> (raw)
In-Reply-To: <E789AF0F-7436-4292-8B59-C7992CC6EA17@df.lth.se>
Christian Brunschen wrote:
>
> On 11 Aug 2007, at 19:06, Philip Boulain wrote:
>
>> Yikes. I like the intent, but the idea of a previously just-data file
>> format suddenly being able to imply "-hdb fat:rw:/home/" does not
>> strike me as a good one. :/
>
> Hi all,
>
> I'm nobody in particular in the world of qemu, and have certainly
> never contributed to it, but I hope you won't mind if I mention some
> thoughts.
>
> It seems to me that overloading a simple data format to suddenly also
> include metadata is indeed a decision fraught with potential for
> unhappiness.
>
> Much better would be to perhaps devise a container format that would
> embed a qemu configuration as well as a number of disk image files. Of
> course, to have such ini a single file is not necessarily very easy.
> However, one need only look at NeXTSTEP/OPENSTEP/Mac OS X to see a
> solution: use a directory.
I expect we'll see something like this emerge in the future.
Regards,
ANthonY Liguori
> Basically, one way to bundle a machine configuration together yet
> leave existing file formats unchanged is to define a standard
> directory structure that can contain a qemu configuration file (a set
> of command line options) as well as a number of related files (mainly
> disk images, but could also me BIOS ROM or similar of course). It
> doesn't need to be a complex structure: simply specify that a 'qemu
> machine directory' contains a file named 'config.qemu' in a specific
> format (with file references relative to the directory containing
> config.qemu). qemu, if given as its sole command line option the name
> of a directory, checks whether the directory contains a suitable
> config.qemu, and reads & process the file as if it were command line
> options (with the current directory.
>
> Such a directory can be kept entirely platform independent, such that
> the entire directory could be moved or copied from one host to
> another. It would mean perhaps tar:ing or zip:ing it up, but certainly
> on Mac OS X such directories have proven to be a successful way of
> bundling things together (certainly helped by the widespread use of
> disk image files, through which distributing directories becomes
> entirely a non-problem).
>
> Something like that _should_ offer most of the features that people
> want - a simple way to encapsulate both configuration and data,
> platform-independent, short and sweet to specify on the command line,
> without making any changes to existing file formats (particularly disk
> image ones).
>
> Just a thought,
>
> // Christian Brunschen
>
>
>
>
next prev parent reply other threads:[~2007-08-11 19:54 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 18:24 [PATCH 4/4][RFC] Add logic to QEMU to read command line options from qcow2 images Jorge Lucángeli Obes
2007-08-08 19:52 ` [Qemu-devel] " Jorge Lucángeli Obes
2007-08-08 20:24 ` Daniel P. Berrange
2007-08-09 14:54 ` Anthony Liguori
2007-08-09 15:07 ` Daniel P. Berrange
2007-08-09 20:16 ` Avi Kivity
2007-08-09 20:25 ` Anthony Liguori
2007-08-09 20:30 ` Avi Kivity
2007-08-09 20:32 ` Anthony Liguori
2007-08-09 20:39 ` Avi Kivity
2007-08-09 20:44 ` Brian Wheeler
2007-08-09 20:49 ` Anthony Liguori
2007-08-10 3:51 ` dmc
2007-08-10 13:26 ` Carlos A. M. dos Santos
2007-08-09 20:55 ` Brian Wheeler
2007-08-10 0:48 ` Anthony Liguori
2007-08-11 17:11 ` andrzej zaborowski
2007-08-11 18:06 ` Philip Boulain
2007-08-11 19:08 ` Christian Brunschen
2007-08-11 19:53 ` Anthony Liguori [this message]
2007-08-11 19:52 ` Anthony Liguori
2007-08-11 21:28 ` Philip Boulain
2007-08-11 23:17 ` Anthony Liguori
2007-08-13 5:34 ` Jorge Lucángeli Obes
2007-08-13 5:34 ` Jorge Lucángeli Obes
[not found] ` <59abf66e0708122234u6fe7a27bwa08f92252951879a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-13 15:15 ` Anthony Liguori
2007-08-13 15:15 ` [kvm-devel] " Anthony Liguori
2007-08-11 19:49 ` Anthony Liguori
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=46BE13D4.6090702@codemonkey.ws \
--to=anthony@codemonkey.ws \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.