[libvirt] [PATCH v3 2/2] virsh: Allow users to reedit rejected XML

Eric Blake eblake at redhat.com
Fri Jun 1 16:20:29 UTC 2012


On 06/01/2012 07:01 AM, Michal Privoznik wrote:
> If users *-edit but make a mistake in XML all changes are
> permanently lost. However, if virsh is not running within
> a script we can ask user if he wants to re-edit the file
> and correct the mistakes.
> ---
>  tools/console.c    |   40 ++++++++++++++++++++++-------------
>  tools/console.h    |    2 +
>  tools/virsh-edit.c |   38 ++++++++++++++++++++++++++++++----
>  tools/virsh.c      |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 117 insertions(+), 20 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120601/7da43166/attachment-0001.sig>


More information about the libvir-list mailing list