[libvirt] [REPOST PATCH 0/4] Split out storage object into its own module

John Ferlan jferlan at redhat.com
Thu Mar 16 13:07:43 UTC 2017


Repost after merging with latest changes of:
http://www.redhat.com/archives/libvir-list/2017-March/msg00305.html

Continuing down the pile of drivers from my RFC for making a common pool
object - we're now at storage...  For reference see patch 3 of:

http://www.redhat.com/archives/libvir-list/2017-February/msg00519.html

This series works through the storage conf adjustments. This pile is
fairly straightforward.  The virStorageVol* API's make it a bit more
interesting, but like other series we split out anything referencing
virStoragePoolObj and go from there.


John Ferlan (4):
  conf: Introduce virstorageobj
  conf: Adjust coding style for storage conf sources
  conf: Alter coding style of storage conf function prototypes
  conf: Use consistent function name prefixes for virstorageobj

 po/POTFILES.in                |   1 +
 src/Makefile.am               |   3 +-
 src/conf/storage_conf.c       | 975 ++---------------------------------------
 src/conf/storage_conf.h       | 174 ++------
 src/conf/virstorageobj.c      | 997 ++++++++++++++++++++++++++++++++++++++++++
 src/conf/virstorageobj.h      | 156 +++++++
 src/libvirt_private.syms      |  34 +-
 src/storage/storage_backend.h |   2 +-
 src/storage/storage_driver.c  |  24 +-
 src/storage/storage_driver.h  |   2 +-
 src/storage/storage_util.h    |   1 -
 src/test/test_driver.c        |   1 +
 12 files changed, 1263 insertions(+), 1107 deletions(-)
 create mode 100644 src/conf/virstorageobj.c
 create mode 100644 src/conf/virstorageobj.h

-- 
2.9.3




More information about the libvir-list mailing list