]> xenbits.xensource.com Git - libvirt.git/commit
virsh-edit: Make force editing usable
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 19 Feb 2015 13:16:39 +0000 (14:16 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 20 Feb 2015 06:46:54 +0000 (07:46 +0100)
commit1bb1de83b250e3cd436a5b03ec70d05cf30d89f4
tree82b9eed176b4f9fa975a54953400641a78b6583e
parent675fa6b360bed03f0206d944b4f5e95b46c0f5a6
virsh-edit: Make force editing usable

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@redhat.com>
tools/virsh-domain.c
tools/virsh-edit.c
tools/virsh.c
tools/virsh.h