[libvirt] [RFC PATCH 0/5] Refactor storage file metadata operations when dealing with snapshots.

Peter Krempa pkrempa at redhat.com
Thu Jun 12 15:02:14 UTC 2014


Now that we track storage source as a pointer we might use this.

Note that this is currently work in progress as I've didn't check all code paths and whether it's safe to modify the backing chains as I did.

Peter Krempa (5):
  storage: encryption: Add deep copy function for storage encryption
  util: seclabel: Add deep copy function for device labels
  util: storagefile: Introduce helper to free storage source perms
  util: storagefile: Add deep copy for struct virStorageSource
  qemu: snapshot: Improve approach to deal with snapshot metadata

 src/libvirt_private.syms        |   1 +
 src/qemu/qemu_driver.c          | 108 +++++---------------------
 src/util/virseclabel.c          |  22 ++++++
 src/util/virseclabel.h          |   5 +-
 src/util/virstorageencryption.c |  39 ++++++++++
 src/util/virstorageencryption.h |   2 +
 src/util/virstoragefile.c       | 166 +++++++++++++++++++++++++++++++++++++++-
 src/util/virstoragefile.h       |   2 +
 8 files changed, 251 insertions(+), 94 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list