summaryrefslogtreecommitdiff
path: root/tests/xmconfigdata
diff options
context:
space:
mode:
authorJohn Ferlan <jferlan@redhat.com>2015-12-02 18:04:04 -0500
committerJohn Ferlan <jferlan@redhat.com>2015-12-18 10:51:08 -0500
commit2eba5c5635a041a0a3a736e917fa1495c97c132b (patch)
tree6aca5c845f363ce4873131567bd68eb0239524b1 /tests/xmconfigdata
parent7d792b99b8b0e13577b3f16d0f4d2ace388a7559 (diff)
downloadlibvirt-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