qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/4] cpu model corrections/updates: add verbose


From: john cooper
Subject: Re: [Qemu-devel] [PATCH 4/4] cpu model corrections/updates: add verbose config file handling
Date: Wed, 15 Sep 2010 01:29:01 -0400
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Blue Swirl wrote:
> On Thu, Sep 9, 2010 at 3:48 AM, john cooper <address@hidden> wrote:
>>
>>> 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.
>
> But '?' is used for other purposes: query available options. It would
> be more logical if -readconfig '?' instead could be used to query the
> default config files.
>
Which is what -writeconfig does, sort of.  Although the structure
of potential multiple input config files is lost and rather the
resulting flat config space is output.  But the alternative is
probably more of a headache than it's worth.

>>> 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.
>
> Right. It just seems that there are a lot of global flags. How about
> -config nodefaults,verbose?
>   
Agreed this is more logical.  The reason I avoided doing so initially
was concern over impacting existing usage.  But it isn't really much
in retrospect.  Updated patch follows.

-john

-- 
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]