
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@redhat.com> --- 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