]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Document wiping formatted volume types
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 14 Jul 2016 09:34:14 +0000 (11:34 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 2 Aug 2016 05:01:57 +0000 (07:01 +0200)
commitfa4eea8063b972a600903e3441bf04415529a7e9
treec19b003ae2d43067e6b3cba5ff8df4a8ca4723a8
parent230c631917f293865856cf675172f1b36cb7e680
storage: Document wiping formatted volume types

When wiping a volume we just rewrite all the data of the volume, not
only the content.  Since format gets overridden, we need to recreate the
volume.  However we can't do that for every possible format out there.
Since it was only coded for the ploop volume type, let's document what
might be the consequences instead of forbidding it for every other
format out there.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=868771

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/libvirt-storage.c