[libvirt] [PATCH v2 0/3] storage: allow metadata preallocation when creating qcow2 images

Ján Tomko jtomko at redhat.com
Mon Nov 12 16:07:59 UTC 2012


Add support for preallocating metadata when creating qcow2 images.

Diff to V1:
* A flag for virStorageVolCreateXML and virStorageVolCreateXMLFrom
  is used instead of guessing from the allocation element.
  * The flag is exposed and documented in virsh.

Ján Tomko (3):
  storage: add a flag for metadata preallocation to VolCreate
  storage: allow metadata preallocation for qcow2 images
  virsh: allow metadata preallocation when creating volumes

 include/libvirt/libvirt.h.in     |    4 +++
 src/libvirt.c                    |    4 +-
 src/storage/storage_backend.c    |   46 ++++++++++++++++++++++++++-----------
 src/storage/storage_backend.h    |    3 +-
 src/storage/storage_backend_fs.c |   16 ++++++++-----
 src/storage/storage_driver.c     |    6 ++--
 tools/virsh-volume.c             |   25 +++++++++++++++++---
 tools/virsh.pod                  |   11 ++++++--
 8 files changed, 82 insertions(+), 33 deletions(-)

-- 
1.7.8.6




More information about the libvir-list mailing list