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

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

 



On 20.02.2015 08:10, 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 off validation can be useful, mainly for testing (but other
> 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@xxxxxxxxxx>
> ---
> v3:
>  - turn 'v' into an 'i' (as in "Ignore validation")
>  - fix translation
> 
> v2:
>  - make a special case 'v' for turning off validation
> 
>  tools/virsh-domain.c |  6 ++++++
>  tools/virsh-edit.c   | 21 +++++++++++++++++++--
>  tools/virsh.c        | 28 ++++++++++++++++++++--------
>  tools/virsh.h        |  4 ++--
>  4 files changed, 47 insertions(+), 12 deletions(-)

Looking good. ACK.

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]