]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Ensure 'qemu-img resize' size arg is a 512 multiple
authorChristophe Fergeau <cfergeau@redhat.com>
Tue, 14 May 2013 13:48:21 +0000 (15:48 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Wed, 15 May 2013 11:45:51 +0000 (13:45 +0200)
commit9a8f39d097448b2b43c4a05d0edc213eacfc9ea6
treefdfbdc4677543a4153c9d112afab8ed8cad71e0b
parenta7c4202cdd12208dcd107fde3b79b2420d863370
storage: Ensure 'qemu-img resize' size arg is a 512 multiple

qemu-img resize will fail with "The new size must be a multiple of 512"
if libvirt doesn't round it first.
This fixes rhbz#951495

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
src/internal.h
src/libvirt.c
src/storage/storage_backend_fs.c