* [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
* [Qemu-devel] Re: Config file support
2006-10-22 18:27 ` Paul Brook
@ 2006-10-23 6:33 ` Antti P Miettinen
0 siblings, 0 replies; 14+ messages in thread
From: Antti P Miettinen @ 2006-10-23 6:33 UTC (permalink / raw)
To: qemu-devel
Paul Brook <paul@codesourcery.com> writes:
> I've been considering a machine config file for a while, but haven't come up
> with a coherent way of representing everything yet.
M5 uses python scripts (as does VirtuTech Simics) but that might not
be a good fit for qemu.
--
http://www.iki.fi/~ananaza/
^ 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 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
* 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
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).