* [Qemu-devel] config file support
@ 2006-10-18 18:42 Chuck Brazie
2006-10-18 19:51 ` [Qemu-devel] " Anthony Liguori
2006-10-22 21:51 ` [Qemu-devel] " Rob Landley
0 siblings, 2 replies; 14+ messages in thread
From: Chuck Brazie @ 2006-10-18 18:42 UTC (permalink / raw)
To: qemu-devel
Is there any work going on now to add config file support?
Chuck Brazie
brazie@us.ibm.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Qemu-devel] Re: config file support
2006-10-18 18:42 [Qemu-devel] config file support Chuck Brazie
@ 2006-10-18 19:51 ` Anthony Liguori
2006-10-19 18:03 ` Fabrice Bellard
2006-10-22 21:51 ` [Qemu-devel] " Rob Landley
1 sibling, 1 reply; 14+ messages in thread
From: Anthony Liguori @ 2006-10-18 19:51 UTC (permalink / raw)
To: qemu-devel
Chuck Brazie wrote:
> Is there any work going on now to add config file support?
It's been discussed. I think Fabrice had some ideas too. AFAIK, noone
is actively working on implementing it though.
Regards,
Anthony Liguori
> Chuck Brazie
> brazie@us.ibm.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Re: config file support
2006-10-18 19:51 ` [Qemu-devel] " Anthony Liguori
@ 2006-10-19 18:03 ` Fabrice Bellard
0 siblings, 0 replies; 14+ messages in thread
From: Fabrice Bellard @ 2006-10-19 18:03 UTC (permalink / raw)
To: qemu-devel
Anthony Liguori wrote:
> Chuck Brazie wrote:
>
>> Is there any work going on now to add config file support?
>
>
> It's been discussed. I think Fabrice had some ideas too. AFAIK, noone
> is actively working on implementing it though.
I want to implement it ASAP and it is likely to be the next feature I
will add in QEMU.
Regards,
Fabrice.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-18 18:42 [Qemu-devel] config file support Chuck Brazie
2006-10-18 19:51 ` [Qemu-devel] " Anthony Liguori
@ 2006-10-22 21:51 ` Rob Landley
2006-10-23 10:58 ` Christian MICHON
2006-10-23 17:50 ` K. Richard Pixley
1 sibling, 2 replies; 14+ messages in thread
From: Rob Landley @ 2006-10-22 21:51 UTC (permalink / raw)
To: qemu-devel; +Cc: Chuck Brazie
On Wednesday 18 October 2006 2:42 pm, Chuck Brazie wrote:
> Is there any work going on now to add config file support?
>
> Chuck Brazie
> brazie@us.ibm.com
As a random end-user, I really like being able to run qemu without a config
file, configuring it entirely on the command line. I'd be highly
disappointed if qemu turned into another Wine.
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-22 21:51 ` [Qemu-devel] " Rob Landley
@ 2006-10-23 10:58 ` Christian MICHON
2006-10-23 11:48 ` Jan Marten Simons
2006-10-23 17:50 ` K. Richard Pixley
1 sibling, 1 reply; 14+ messages in thread
From: Christian MICHON @ 2006-10-23 10:58 UTC (permalink / raw)
To: qemu-devel
On 10/22/06, Rob Landley <rob@landley.net> wrote:
> As a random end-user, I really like being able to run qemu without a config
> file, configuring it entirely on the command line. I'd be highly
> disappointed if qemu turned into another Wine.
>
> Rob
we've a lot to gain from it. Think twice: the shell and the host you use
behaves in a certain way because of the way you write the command line.
Migrate to a different OS for the host and you might be done for: I
believe the config file support will help solving problems and debug,
but most important will help promote qemu usage to the rest of
the community (understand: non-developpers).
Rob: you're far from being a random user, right ? :)
--
Christian
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-23 10:58 ` Christian MICHON
@ 2006-10-23 11:48 ` Jan Marten Simons
2006-10-23 12:24 ` Paul Brook
0 siblings, 1 reply; 14+ messages in thread
From: Jan Marten Simons @ 2006-10-23 11:48 UTC (permalink / raw)
To: qemu-devel
In my opinion config files should _always only_ be *an alternative* to a
long command line.
Basically you should be able to do anything with both configuration
options, be it command line or a config file (or a combination of both).
Ciao,
Jan
Christian MICHON schrieb:
> On 10/22/06, Rob Landley <rob@landley.net> wrote:
>> As a random end-user, I really like being able to run qemu without a
>> config
>> file, configuring it entirely on the command line. I'd be highly
>> disappointed if qemu turned into another Wine.
>>
>> Rob
>
> we've a lot to gain from it. Think twice: the shell and the host you use
> behaves in a certain way because of the way you write the command line.
>
> Migrate to a different OS for the host and you might be done for: I
> believe the config file support will help solving problems and debug,
> but most important will help promote qemu usage to the rest of
> the community (understand: non-developpers).
>
> Rob: you're far from being a random user, right ? :)
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-23 11:48 ` Jan Marten Simons
@ 2006-10-23 12:24 ` Paul Brook
0 siblings, 0 replies; 14+ messages in thread
From: Paul Brook @ 2006-10-23 12:24 UTC (permalink / raw)
To: qemu-devel
On Monday 23 October 2006 12:48, Jan Marten Simons wrote:
> In my opinion config files should _always only_ be *an alternative* to a
> long command line.
>
> Basically you should be able to do anything with both configuration
> options, be it command line or a config file (or a combination of both).
Part of the motivation for wanting a config file is that it's more flexible
and allows more complicated configs than just commandline options.
For that reason I'd expect the commandline to only offer a subset of the
features available via a config file.
You can always write a wrapper script that generates a config file.
Paul
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-22 21:51 ` [Qemu-devel] " Rob Landley
2006-10-23 10:58 ` Christian MICHON
@ 2006-10-23 17:50 ` K. Richard Pixley
2006-10-23 20:39 ` Rob Landley
2006-10-23 20:42 ` André Braga
1 sibling, 2 replies; 14+ messages in thread
From: K. Richard Pixley @ 2006-10-23 17:50 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 801 bytes --]
Rob Landley wrote:
> On Wednesday 18 October 2006 2:42 pm, Chuck Brazie wrote:
>
>> Is there any work going on now to add config file support?
>>
>> Chuck Brazie
>> brazie@us.ibm.com
>>
> As a random end-user, I really like being able to run qemu without a config
> file, configuring it entirely on the command line. I'd be highly
> disappointed if qemu turned into another Wine.
Except that I never do. Instead, I write a trivial shell script since I
can never remember the command line options, much less type them in
consistently.
What's the difference between a shell script to cover qemu and a
#!/bin/qemu config file? Seems to me they both address roughly the same
issues with roughly the same considerations. Am I missing any
significant functionality differences?
--rich
[-- Attachment #2: Type: text/html, Size: 1294 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-23 17:50 ` K. Richard Pixley
@ 2006-10-23 20:39 ` Rob Landley
2006-10-23 20:58 ` Paul Brook
` (2 more replies)
2006-10-23 20:42 ` André Braga
1 sibling, 3 replies; 14+ messages in thread
From: Rob Landley @ 2006-10-23 20:39 UTC (permalink / raw)
To: qemu-devel
On Monday 23 October 2006 1:50 pm, K. Richard Pixley wrote:
> Rob Landley wrote:
> > On Wednesday 18 October 2006 2:42 pm, Chuck Brazie wrote:
> >
> >> Is there any work going on now to add config file support?
> >>
> >> Chuck Brazie
> >> brazie@us.ibm.com
> >>
> > As a random end-user, I really like being able to run qemu without a
config
> > file, configuring it entirely on the command line. I'd be highly
> > disappointed if qemu turned into another Wine.
> Except that I never do. Instead, I write a trivial shell script since I
> can never remember the command line options, much less type them in
> consistently.
>
> What's the difference between a shell script to cover qemu and a
> #!/bin/qemu config file?
The shell script works now, and you're proposing breaking it?
> Seems to me they both address roughly the same
> issues with roughly the same considerations.
Using a *.PIF file is the Windows way. Using the command line is Linux.
> Am I missing any significant functionality differences?
So you'd have no trouble configuring kde's file type associations to open
arbitrary "*.img" files with qemu when you click on them if you couldn't do
this entirely from the command line?
> --rich
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-23 20:39 ` Rob Landley
@ 2006-10-23 20:58 ` Paul Brook
2006-10-23 21:01 ` K. Richard Pixley
2006-10-23 21:17 ` M. Warner Losh
2 siblings, 0 replies; 14+ messages in thread
From: Paul Brook @ 2006-10-23 20:58 UTC (permalink / raw)
To: qemu-devel
> > Seems to me they both address roughly the same
> > issues with roughly the same considerations.
>
> Using a *.PIF file is the Windows way. Using the command line is Linux.
There's plenty of prior art for using config files on unix/linux systems.
I'm not saying we should remove all commandline options. However qemu is
growing sufficiently many user-adjustable knobs that manipulating them all
solely via the commandline gets unwieldy. IMHO there's a limit to how much
information can/should be usefully expressed on the commandline, and qemu is
approaching that limit.
Paul
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-23 20:39 ` Rob Landley
2006-10-23 20:58 ` Paul Brook
@ 2006-10-23 21:01 ` K. Richard Pixley
2006-10-23 21:17 ` M. Warner Losh
2 siblings, 0 replies; 14+ messages in thread
From: K. Richard Pixley @ 2006-10-23 21:01 UTC (permalink / raw)
To: Rob Landley; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 885 bytes --]
Rob Landley wrote:
>> What's the difference between a shell script to cover qemu and a
>> #!/bin/qemu config file?
>>
> The shell script works now, and you're proposing breaking it?
>
No, I'm not. I'm genuinely asking about functional differences.
>> Am I missing any significant functionality differences?
>>
> So you'd have no trouble configuring kde's file type associations to open
> arbitrary "*.img" files with qemu when you click on them if you couldn't do
> this entirely from the command line?
>
I don't use kde. And *.img is used for far too many file types to
assume that this alone indicates that any foo.img is a qemu related file.
But yes, I could configure gnome to do this. Or firefox. It's pretty
much trivial. MacosX has file system metadata to help out so that it
doesn't have to rely solely on the irrelevant file name suffixes.
--rich
[-- Attachment #2: Type: text/html, Size: 1496 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-23 20:39 ` Rob Landley
2006-10-23 20:58 ` Paul Brook
2006-10-23 21:01 ` K. Richard Pixley
@ 2006-10-23 21:17 ` M. Warner Losh
2 siblings, 0 replies; 14+ messages in thread
From: M. Warner Losh @ 2006-10-23 21:17 UTC (permalink / raw)
To: qemu-devel, rob
In message: <200610231639.00717.rob@landley.net>
Rob Landley <rob@landley.net> writes:
: > Seems to me they both address roughly the same
: > issues with roughly the same considerations.
:
: Using a *.PIF file is the Windows way. Using the command line is Linux.
Except for complicated things, like, say, X's config file.
Warner
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] config file support
2006-10-23 17:50 ` K. Richard Pixley
2006-10-23 20:39 ` Rob Landley
@ 2006-10-23 20:42 ` André Braga
1 sibling, 0 replies; 14+ messages in thread
From: André Braga @ 2006-10-23 20:42 UTC (permalink / raw)
To: qemu-devel
On 10/23/06, K. Richard Pixley <rich.pixley@palmsource.com> wrote:
> What's the difference between a shell script to cover qemu and a
> #!/bin/qemu config file?
Not everyone may run QEMU under a POSIX-ish command-line shell. There
are several active operating systems in the world, and several people
fiddling with the porting of QEMU to those systems.
What I'd really like to see, for example, would be the possibility of
dumping the options active when QEMU was started to a config file. It
could be then tweaked at will, but the skeleton would be there
already, customized to a pretty comfortable point even.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Qemu-devel] Config file support
@ 2006-10-20 17:55 Chuck Brazie
2006-10-22 17:01 ` Flavio Visentin
0 siblings, 1 reply; 14+ messages in thread
From: Chuck Brazie @ 2006-10-20 17:55 UTC (permalink / raw)
To: qemu-devel
Fabrice,
What are your ideas on the syntax of the config file? Will it be XML based
or similar to the current options?
Chuck Brazie
brazie@us.ibm.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Config file support
@ 2006-10-22 17:01 ` Flavio Visentin
2006-10-22 17:19 ` Martin Guy
0 siblings, 1 reply; 14+ messages in thread
From: Flavio Visentin @ 2006-10-22 17:01 UTC (permalink / raw)
To: qemu-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Johannes Schindelin wrote:
> So _I_ think that it is just a matter of extending the command line option
> parsing to also be able to parse a config file (in which case -- I am sure
> even you agree) it is easier if one line holds a complete key/value pair.
I think reinventing the wheel is not so clever.
VMWare's config file style is really simple and it would be possible to
use VMWare's files with few or no changes.
One useful thing is to be able to use the #!/usr/bin/qemu feature :-)
- --
Flavio Visentin
GPG Key: http://www.zipman.it/gpgkey.asc
There are only 10 types of people in this world:
those who understand binary, and those who don't.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFO6PRusUmHkh1cnoRAtHyAJ9CfcDVPYTr43F0as/5xwJ4S6EnvgCePC1U
M1Bub93EY4kKg2TjbMUVEvc=
=fECK
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Config file support
2006-10-22 17:01 ` Flavio Visentin
@ 2006-10-22 17:19 ` Martin Guy
2006-10-22 18:27 ` Paul Brook
0 siblings, 1 reply; 14+ messages in thread
From: Martin Guy @ 2006-10-22 17:19 UTC (permalink / raw)
To: qemu-devel
> VMWare's config file style is really simple
ethernet0.present = "TRUE"
ethernet0.virtualDev = "e1000"
e1000bios.filename = "path/etherboot-for-E1000"
> and it would be possible to
> use VMWare's files with few or no changes.
Would that be enough to be able to move the emulated system
description into config files rather than having the set of hard-coded
machine alternatives we have at present? If so it would be a boon to
anyone wanting to emulate, frinstance, any ARM board other than those
manufactured by ARM Corp.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Config file support
2006-10-22 17:19 ` Martin Guy
@ 2006-10-22 18:27 ` Paul Brook
2006-10-23 6:33 ` [Qemu-devel] " Antti P Miettinen
0 siblings, 1 reply; 14+ messages in thread
From: Paul Brook @ 2006-10-22 18:27 UTC (permalink / raw)
To: qemu-devel
> Would that be enough to be able to move the emulated system
> description into config files rather than having the set of hard-coded
> machine alternatives we have at present? If so it would be a boon to
> anyone wanting to emulate, frinstance, any ARM board other than those
> manufactured by ARM Corp.
To a first approximation the machine description probably wants to be separate
from the user config file. There is some overlap and interlinking, but they
tend to be aimed at different users. eg. the machine description will specify
a particular scsi HBA with a MMIO address and wired to a particular IRQ,
whereas the user just specifies they want a cdrom using a particular image.
I've been considering a machine config file for a while, but haven't come up
with a coherent way of representing everything yet.
Paul
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-10-23 21:19 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 18:42 [Qemu-devel] config file support Chuck Brazie
2006-10-18 19:51 ` [Qemu-devel] " Anthony Liguori
2006-10-19 18:03 ` Fabrice Bellard
2006-10-22 21:51 ` [Qemu-devel] " Rob Landley
2006-10-23 10:58 ` Christian MICHON
2006-10-23 11:48 ` Jan Marten Simons
2006-10-23 12:24 ` Paul Brook
2006-10-23 17:50 ` K. Richard Pixley
2006-10-23 20:39 ` Rob Landley
2006-10-23 20:58 ` Paul Brook
2006-10-23 21:01 ` K. Richard Pixley
2006-10-23 21:17 ` M. Warner Losh
2006-10-23 20:42 ` André Braga
-- strict thread matches above, loose matches on Subject: below --
2006-10-20 17:55 [Qemu-devel] Config " Chuck Brazie
2006-10-22 17:01 ` Flavio Visentin
2006-10-22 17:19 ` Martin Guy
2006-10-22 18:27 ` Paul Brook
2006-10-23 6:33 ` [Qemu-devel] " Antti P Miettinen
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).