[libvirt] [PATCH v2] virsh-edit: Make force editing usable

Laine Stump laine at laine.org
Thu Feb 19 20:30:41 UTC 2015


On 02/19/2015 02:26 PM, John Ferlan wrote:
>
> On 02/19/2015 11:24 AM, Martin Kletzander wrote:
>> When editing a domain with 'virsh edit' and failing validation, the
>> usual message pops up:
>>
>>   Failed. Try again? [y,n,f,?]:
>>
>> Turning of validation can be ussable, mainly for testing (but other
> s/of/off
> s/ussable/useful
>
>> purposes too), so this patch adds support for relaxing definition in
>> virsh-edit and makes 'virsh edit <domain>' more usable.
>>
>> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>> ---
>> v2:
>>  - make a special case 'v' for turning off validation
> Another choice 'i' "ignore validation" - only because when I see -v I
> think "verbose" or "version" (just like -h is help)

I think I like "i" for "ignore validation errors" rather than "v", for
exactly the same reason - v almost always means "verbose" or "version".





More information about the libvir-list mailing list