qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/7] qemu-img: Fix handling of multiply specifie


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH 0/7] qemu-img: Fix handling of multiply specified options
Date: Thu, 20 Feb 2014 10:03:09 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 20.02.2014 um 08:18 hat Markus Armbruster geschrieben:
> Kevin Wolf <address@hidden> writes:
> 
> > If you specify the same option more than once (e.g. -o cluster_size=4k
> > -o lazy_refcounts=on), qemu-img silently ignores all but the last one. This
> 
> Sounds like perfectly common behavior to me.

I guess it depends on the kind of option. For -o it's no less surprising
than 'gcc -Wall -Werror' giving you only -Werror without -Wall.

> > series fixes it to either consider all options or to give an error message.
> 
> Doesn't this break usage like "Compiled-in default is no good for me,
> create wrapper script setting my defaults followed by "$@", then
> override them on command line"?

It does. Would you be happy with a series that accumulates -o options
(like this one does) and leaves the other options alone?

Kevin



reply via email to

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