From: Anthony Liguori <anthony@codemonkey.ws>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org,
Paul Brook <paul@codesourcery.com>
Subject: Re: [PATCH] Add support for a configuration file
Date: Tue, 13 May 2008 18:07:08 -0500 [thread overview]
Message-ID: <482A1F1C.2020902@codemonkey.ws> (raw)
In-Reply-To: <1210713545-11916-1-git-send-email-aliguori@us.ibm.com>
Anthony Liguori wrote:
> I think this is pretty useful as-is. I think it also gives us a reasonable
> way to move forward that will keep everyone pretty happy.
>
> Here's a short example:
>
> qemu-system-x86_64 -hda ~/images/linux.img -snapshot -vnc :2
>
> Would become `foo.qemu':
>
> # Main disk image
> hda=/home/anthony/images/linux.img
>
> # Redirect disk writes to a temporary image
> snapshot
>
> # Make the graphical display available on port 5902
> vnc=:2
>
> With:
>
> qemu-system-x86_64 -config foo.qemu
One thought I had, is that it would be very nice to break up the -drive
file=foo.img,if=scsi syntax within the config file. In general, I'm
thinking something like:
[drive]
file=foo.img
if=scsi
or:
drive {
file=foo.img
if=scsi
}
or even:
drive:
file=foo.img
if=scsi
Basically, I'm looking for a syntax for sub-options. This would be
useful for -drive or -net but I also think would lay the foundations for
specifying a full machine config.
It would get very unwieldy on the command line to have a large number of
suboptions but it works reasonably well within a config.
Regards,
Anthony Liguori
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
WARNING: multiple messages have this Message-ID (diff)
From: Anthony Liguori <anthony@codemonkey.ws>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org,
Paul Brook <paul@codesourcery.com>
Subject: [Qemu-devel] Re: [PATCH] Add support for a configuration file
Date: Tue, 13 May 2008 18:07:08 -0500 [thread overview]
Message-ID: <482A1F1C.2020902@codemonkey.ws> (raw)
In-Reply-To: <1210713545-11916-1-git-send-email-aliguori@us.ibm.com>
Anthony Liguori wrote:
> I think this is pretty useful as-is. I think it also gives us a reasonable
> way to move forward that will keep everyone pretty happy.
>
> Here's a short example:
>
> qemu-system-x86_64 -hda ~/images/linux.img -snapshot -vnc :2
>
> Would become `foo.qemu':
>
> # Main disk image
> hda=/home/anthony/images/linux.img
>
> # Redirect disk writes to a temporary image
> snapshot
>
> # Make the graphical display available on port 5902
> vnc=:2
>
> With:
>
> qemu-system-x86_64 -config foo.qemu
One thought I had, is that it would be very nice to break up the -drive
file=foo.img,if=scsi syntax within the config file. In general, I'm
thinking something like:
[drive]
file=foo.img
if=scsi
or:
drive {
file=foo.img
if=scsi
}
or even:
drive:
file=foo.img
if=scsi
Basically, I'm looking for a syntax for sub-options. This would be
useful for -drive or -net but I also think would lay the foundations for
specifying a full machine config.
It would get very unwieldy on the command line to have a large number of
suboptions but it works reasonably well within a config.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2008-05-13 23:07 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 21:19 [PATCH] Add support for a configuration file Anthony Liguori
2008-05-13 21:19 ` [Qemu-devel] " Anthony Liguori
2008-05-13 23:07 ` Anthony Liguori [this message]
2008-05-13 23:07 ` [Qemu-devel] " Anthony Liguori
2008-05-13 23:20 ` Daniel P. Berrange
2008-05-13 23:20 ` [Qemu-devel] Re: [kvm-devel] " Daniel P. Berrange
2008-05-14 6:35 ` Colin Adams
2008-05-14 6:35 ` [Qemu-devel] Re: [kvm-devel] " Colin Adams
2008-05-14 14:41 ` [Qemu-devel] " Avi Kivity
2008-05-14 14:41 ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity
2008-05-14 14:52 ` [Qemu-devel] " Dor Laor
2008-05-14 14:52 ` [Qemu-devel] Re: [kvm-devel] " Dor Laor
2008-05-14 15:02 ` [Qemu-devel] " Daniel P. Berrange
2008-05-14 15:02 ` [Qemu-devel] Re: [kvm-devel] " Daniel P. Berrange
2008-05-14 15:18 ` [Qemu-devel] " Anthony Liguori
2008-05-14 15:18 ` [kvm-devel] " Anthony Liguori
2008-05-14 14:59 ` Anthony Liguori
2008-05-14 14:59 ` [Qemu-devel] Re: [kvm-devel] " Anthony Liguori
2008-05-14 15:10 ` Andreas Färber
2008-05-15 14:50 ` Ian Jackson
2008-05-14 8:27 ` [Qemu-devel] " Fabrice Bellard
2008-05-14 8:27 ` Fabrice Bellard
2008-05-14 10:31 ` Avi Kivity
2008-05-14 10:31 ` Avi Kivity
2008-05-14 12:26 ` Fabrice Bellard
2008-05-14 12:26 ` Fabrice Bellard
2008-05-14 13:31 ` Daniel P. Berrange
2008-05-14 13:31 ` [kvm-devel] " Daniel P. Berrange
2008-05-15 8:04 ` Avi Kivity
2008-05-15 8:04 ` [kvm-devel] " Avi Kivity
2008-05-15 11:52 ` Daniel P. Berrange
2008-05-15 11:52 ` [kvm-devel] " Daniel P. Berrange
2008-05-15 12:04 ` Avi Kivity
2008-05-15 12:04 ` [kvm-devel] " Avi Kivity
2008-05-15 12:16 ` Andreas Färber
2008-05-15 12:20 ` Laurent Vivier
2008-05-15 12:20 ` [kvm-devel] " Laurent Vivier
2008-05-14 14:06 ` Anthony Liguori
2008-05-14 14:06 ` Anthony Liguori
2008-05-14 14:26 ` Paul Brook
2008-05-14 14:26 ` Paul Brook
2008-05-14 14:45 ` Javier Guerra
2008-05-14 14:45 ` [kvm-devel] " Javier Guerra
2008-05-14 15:13 ` Johannes Schindelin
2008-05-14 15:13 ` [kvm-devel] " Johannes Schindelin
2008-05-14 15:30 ` [kvm-devel] " Javier Guerra
2008-05-14 15:30 ` [kvm-devel] [Qemu-devel] " Javier Guerra
2008-05-14 15:37 ` [kvm-devel] " Johannes Schindelin
2008-05-14 15:37 ` [kvm-devel] [Qemu-devel] " Johannes Schindelin
2008-05-14 15:42 ` [kvm-devel] " Javier Guerra
2008-05-14 15:42 ` [kvm-devel] [Qemu-devel] " Javier Guerra
2008-05-14 16:07 ` Kelly French
2008-05-14 16:07 ` [kvm-devel] " Kelly French
2008-05-15 14:59 ` Paul Brook
2008-05-15 14:59 ` [kvm-devel] " Paul Brook
2008-05-14 16:01 ` Andreas Färber
2008-05-14 16:21 ` Daniel P. Berrange
2008-05-14 16:37 ` Andreas Färber
2008-05-14 16:29 ` Fabrice Bellard
2008-05-17 21:49 ` Luca Barbato
2008-05-14 15:22 ` [kvm-devel] " Daniel P. Berrange
2008-05-14 15:22 ` [kvm-devel] [Qemu-devel] " Daniel P. Berrange
2008-05-14 15:09 ` Anthony Liguori
2008-05-14 15:09 ` Anthony Liguori
2008-05-14 15:18 ` Paul Brook
2008-05-14 15:18 ` [Qemu-devel] " Paul Brook
2008-05-14 16:25 ` Fabrice Bellard
2008-05-14 16:25 ` [Qemu-devel] " Fabrice Bellard
2008-05-14 14:36 ` andrzej zaborowski
2008-05-14 14:36 ` andrzej zaborowski
2008-05-14 15:10 ` Johannes Schindelin
2008-05-14 15:10 ` Johannes Schindelin
2008-05-15 14:58 ` Ian Jackson
2008-05-15 14:58 ` Ian Jackson
2008-05-15 12:03 ` [Qemu-devel] " Erik de Castro Lopo
2008-05-15 12:36 ` andrzej zaborowski
2008-05-15 13:22 ` Daniel P. Berrange
2008-05-15 14:46 ` andrzej zaborowski
2008-05-15 15:05 ` Anthony Liguori
2008-05-15 15:26 ` Avi Kivity
2008-05-15 18:50 ` 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=482A1F1C.2020902@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=aliguori@us.ibm.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=paul@codesourcery.com \
--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.