diff options
author | John Ferlan <jferlan@redhat.com> | 2015-12-02 18:04:04 -0500 |
---|---|---|
committer | John Ferlan <jferlan@redhat.com> | 2015-12-18 10:51:08 -0500 |
commit | 2eba5c5635a041a0a3a736e917fa1495c97c132b (patch) | |
tree | 6aca5c845f363ce4873131567bd68eb0239524b1 /tests/xmconfigdata | |
parent | 7d792b99b8b0e13577b3f16d0f4d2ace388a7559 (diff) | |
download | libvirt-2eba5c5635a041a0a3a736e917fa1495c97c132b.tar.gz |
virsh: Add --delete-snapshots flag for undefine and vol-delete
https://bugzilla.redhat.com/show_bug.cgi?id=1281710
Commit id '3c7590e0a' added the flag to the rbd backend, but provided
no means via virsh to use the flag. This patch adds a '--delete-snapshots'
option to both the "undefine" and "vol-delete" commands.
For "undefine", the flag is combined with the "--remove-all-storage" flag
in order to add the appropriate flag for the virStorageVolDelete call;
whereas, for the "vol-delete" command, just the flag is sufficient since
it's only operating on one volume.
Currently only supported for rbd backends.
Diffstat (limited to 'tests/xmconfigdata')
0 files changed, 0 insertions, 0 deletions