Re: [PATCH] virsh-edit: Make force editing usable

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

 



On 19.02.2015 16:47, Daniel P. Berrange wrote:
> On Thu, Feb 19, 2015 at 04:43:44PM +0100, Michal Privoznik wrote:
>> On 19.02.2015 15:28, Martin Kletzander wrote:
>>> When editing a domain with 'virsh edit' and failing validation, the
>>> usual message pops up:
>>>
>>>   Failed. Try again? [y,n,f,?]:
>>>
>>> The option 'f' (force) is pretty unusable.  It tries to step into the
>>> same puddle again and again when it can at least try to force the
>>> definition.
>>
>> The idea behind force was, that imagine two virshes running. In both you
>> start editing the same domain. In one you successfully save the changes
>> and domain XML is regenerated. However, the other one notices this and
>> ask you, that domain definition has changed meanwhile, if you want to
>> continue. And by choosing 'force' you can use the force, Luke.
> 
> Yep, and in that scenario I'd still expect us todo full XML validation.
> 
>>
>> ACK though.
> 
> NACK from me

So maybe a new option to be introduced into the set? Say, 'v' to turn
off the validation (and not use the force).

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]