[PATCHv2 0/7] more of round 2 of virstoragefile refactoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



compared to v1, this is rebased on top of Cole's changes,
treats disk partition types slightly differently, and adds
a couple patches.

1/7: was 16/n, unreviewed so far
2/7: was 13/n with weak ack
3-4/7: was 14-15/n; commit messages improved to justify it further
5-7: all new patches

I'm still working on how best to fold virStorageFileMetadata into
virStorageSource; it's a bit tricky since the metadata type is
rather awkward (storing type information about the backing file
in the parent, rather than in the backing file)

Eric Blake (7):
  conf: manage disk source by struct instead of pieces
  conf: tweak volume target struct details
  conf: move volume structs to util/
  conf: use common struct in storage volumes
  conf: track sizes directly in source struct
  conf: drop redundant parameters during probe
  conf: modify tracking of encrypted images

 src/conf/domain_conf.c                 | 139 ++++++++++++------------------
 src/conf/domain_conf.h                 |  24 ++----
 src/conf/snapshot_conf.c               |  17 +---
 src/conf/storage_conf.c                |  40 ++++-----
 src/conf/storage_conf.h                |  51 ++---------
 src/esx/esx_storage_backend_iscsi.c    |   5 +-
 src/esx/esx_storage_backend_vmfs.c     |  20 ++---
 src/parallels/parallels_driver.c       |   2 +-
 src/parallels/parallels_storage.c      |  22 ++---
 src/phyp/phyp_driver.c                 |   4 +-
 src/storage/storage_backend.c          | 150 +++++++++++++++------------------
 src/storage/storage_backend.h          |  11 +--
 src/storage/storage_backend_disk.c     |  26 +++---
 src/storage/storage_backend_fs.c       |  32 +++----
 src/storage/storage_backend_gluster.c  |  12 ++-
 src/storage/storage_backend_logical.c  |  18 ++--
 src/storage/storage_backend_mpath.c    |   8 +-
 src/storage/storage_backend_rbd.c      |  11 +--
 src/storage/storage_backend_scsi.c     |   6 +-
 src/storage/storage_backend_sheepdog.c |  10 +--
 src/storage/storage_driver.c           |  40 ++++-----
 src/test/test_driver.c                 |  16 ++--
 src/util/virstoragefile.c              |  11 ++-
 src/util/virstoragefile.h              |  30 ++++++-
 src/vbox/vbox_tmpl.c                   |  11 +--
 tests/storagebackendsheepdogtest.c     |   5 +-
 tests/virstoragetest.c                 |   4 +-
 27 files changed, 322 insertions(+), 403 deletions(-)

-- 
1.9.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]