From: john cooper <john.cooper@redhat.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: john cooper <john.cooper@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 4/4] cpu model corrections/updates: add verbose config file handling
Date: Wed, 08 Sep 2010 23:48:28 -0400 [thread overview]
Message-ID: <4C88590C.9010405@redhat.com> (raw)
In-Reply-To: <AANLkTineeNqVDshG8opuT-wqrMFfz2Vkt-tGx7VjcOuR@mail.gmail.com>
Blue Swirl wrote:
> On Tue, Sep 7, 2010 at 12:31 PM, john cooper <john.cooper@redhat.com> wrote:
>> Failure by qemu to open a default config file isn't cause to
>> error exit -- it just quietly continues on. After puzzling
>> issues with otherwise opaque config file locations and
>> startup handling numerous times, some help from qemu seemed
>> justified.
>
> Maybe there should be an error exit if the user specifies a config
> file but there are problems with it?
That's one possibility. However given the preexisting
behavior where open of at least one of the config files
routinely fails and is quietly dismissed, issuing warnings
would seem distracting to the user.
I think one config file is all which is needed, and the
config syntax can be extended to allow including other
vendor/install specific files as needed. I particularly
feel so as we've locally had to add yet a third config file
to push system quasi-static config data out of the way of
possible user modification for libvirt concerns. That was
a last-minute bandaid solution which just makes the problem
worse. Anyway such vendor specific config structure should
be handled within the config mechanism itself vs. hard coding
it into qemu startup.
>> In the case of a "?" pseudo filename arg to -readconfig,
>> verbose open of all config files will be enabled. Normal
>> handling of config files is otherwise unaffected by this
>> option.
>
> I think '?' is not very good name.
I agree, a shell meta char wasn't my first choice. However
it follows the precedent of '?' used in similar query operations
and was chosen only for CLI consistency.
> Could we add flags to -readconfig,
> like -readconfig verbose,nodefaultconfig,file='', to match other
> options' syntax?
That seems most natural for options specific to the associated
config file. However the verbose flag was intended as a
global action rather than local to a given config file. The
preexisting "nodefconfig" is also a global option.
Thanks,
-john
--
john.cooper@redhat.com
next prev parent reply other threads:[~2010-09-09 3:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 12:31 [Qemu-devel] [PATCH 4/4] cpu model corrections/updates: add verbose config file handling john cooper
2010-09-07 18:38 ` Blue Swirl
2010-09-09 3:48 ` john cooper [this message]
2010-09-09 18:23 ` Blue Swirl
2010-09-15 5:29 ` john cooper
-- strict thread matches above, loose matches on Subject: below --
2010-11-24 22:45 john cooper
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=4C88590C.9010405@redhat.com \
--to=john.cooper@redhat.com \
--cc=blauwirbel@gmail.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.