From: "Jorge Lucángeli Obes" <t4m5yn@gmail.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org
Subject: Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images
Date: Tue, 14 Aug 2007 01:39:04 -0300 [thread overview]
Message-ID: <59abf66e0708132139y3d5dc5e7yf033aa4896d16093@mail.gmail.com> (raw)
In-Reply-To: <1187061429.16054.2.camel@squirrel>
On 8/14/07, Anthony Liguori <anthony@codemonkey.ws> wrote:
>
> On Mon, 2007-08-13 at 20:39 +0100, Thiemo Seufer wrote:
> > Jorge Lucángeli Obes wrote:
> > [snip]
> > > When I read Avi's TODO, I basically thought about getting rid of the
> > > long command lines I had to store in scripts. I wanted to write that
> > > command line once, and then forgetting about it, until I needed to
> > > change it.
> >
> > 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
> >
> > where qemu.cfg is a file which contains the command line arguments.
> > (This is also low-maintenance, as it allows to re-use the existing
> > parser. No need for duplicated logic.)
>
> In this case, it's also just as easy to make a shell script. I think an
> important goal here is to automatically associate the options for a VM
> with the actual disk image. It's not just about storing said options in
> a file.
On my 64-bit Xubuntu Feisty I get:
qemu: could not open hard disk image '@config'
Anyways, as Anthony said, we would like to have only one file
describing the VM. Since we already have the disk image, we were
looking for ways to reuse that image for this purpose.
I did not know about '@config', and if I can get it to work, I like it
better than a shell script. However, I think it does not completely
solve the problem. It still means two files per VM.
Cheers,
Jorge
next prev parent reply other threads:[~2007-08-14 4:39 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 ` [kvm-devel] [Qemu-devel] " Thiemo Seufer
2007-08-14 14:26 ` Philip Boulain
2007-08-14 3:17 ` Anthony Liguori
2007-08-14 4:39 ` Jorge Lucángeli Obes [this message]
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=59abf66e0708132139y3d5dc5e7yf033aa4896d16093@mail.gmail.com \
--to=t4m5yn@gmail.com \
--cc=anthony@codemonkey.ws \
--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).