[libvirt] [PATCH] storage: Add --shrink to qemu-img command when shrinking vol

Daniel P. Berrangé berrange at redhat.com
Fri Aug 24 10:28:18 UTC 2018


On Fri, Aug 17, 2018 at 04:01:32PM -0400, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1613746
> 
> When shrinking the capacity of a qcow2 or luks volume using
> the qemu-img program, the --shrink qualifier must be added.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/storage/storage_util.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list