qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/5] blockdev: add discard suboption to -drive


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 2/5] blockdev: add discard suboption to -drive
Date: Wed, 20 Feb 2013 15:09:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 13/02/2013 11:39, Stefan Hajnoczi ha scritto:
>> >              .type = QEMU_OPT_STRING,
>> >              .help = "disk image",
>> >          },{
>> > +            .name = "discard",
>> > +            .type = QEMU_OPT_STRING,
>> > +            .help = "discard operation (ignore/off, unmap/on)",
> off/on aliases will be confusing when we plan to add "anchor" in the
> future, making this non-boolean.  Please support ignore/unmap only.

My problem here is that "unmap" will not be the default but at the same
time it will be what people want to use.  Hence, it is important to have
an easy to remember and discover option; "discard=on" is immediately
understandable, while "discard=unmap" is not.

Paolo



reply via email to

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